commit:     aa3b9c4e002b2f1c2beb88e3af1dbb97326dbbdd
Author:     grbd <garlicbready <AT> googlemail <DOT> com>
AuthorDate: Wed Apr 18 18:29:38 2018 +0000
Commit:     Mikhail Pukhlikov <cynede <AT> gentoo <DOT> org>
CommitDate: Wed Apr 18 18:29:38 2018 +0000
URL:        https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=aa3b9c4e

updates for runtime / sdk dotnet core binary ebuilds

 .../dotnetcore-runtime-bin-2.0.7.ebuild            | 45 +++++++++++++++++++++
 .../dotnetcore-sdk-bin-2.1.105.ebuild              | 46 ++++++++++++++++++++++
 2 files changed, 91 insertions(+)

diff --git 
a/dev-dotnet/dotnetcore-runtime-bin/dotnetcore-runtime-bin-2.0.7.ebuild 
b/dev-dotnet/dotnetcore-runtime-bin/dotnetcore-runtime-bin-2.0.7.ebuild
new file mode 100644
index 0000000..960374f
--- /dev/null
+++ b/dev-dotnet/dotnetcore-runtime-bin/dotnetcore-runtime-bin-2.0.7.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit eutils
+
+DESCRIPTION=".NET Core Runtime - binary precompiled for glibc"
+HOMEPAGE="https://www.microsoft.com/net/core";
+LICENSE="MIT"
+
+SRC_URI="
+amd64? ( 
https://dotnetcli.blob.core.windows.net/dotnet/Runtime/${PV}/dotnet-runtime-${PV}-linux-x64.tar.gz
 -> dotnet-runtime-${PV}-linux-x64.tar.gz )
+arm? ( 
https://dotnetcli.blob.core.windows.net/dotnet/Runtime/${PV}/dotnet-runtime-${PV}-linux-arm.tar.gz
 -> dotnet-runtime-${PV}-linux-arm.tar.gz )
+"
+
+SLOT="0"
+KEYWORDS="~amd64 ~arm"
+
+# The sdk includes the runtime-bin and aspnet-bin so prevent from installing 
at the same time
+
+RDEPEND="
+       >=sys-apps/lsb-release-1.4
+       >=sys-devel/llvm-4.0
+       amd64? ( >=dev-util/lldb-4.0 )
+       >=sys-libs/libunwind-1.1-r1
+       >=dev-libs/icu-57.1
+       >=dev-util/lttng-ust-2.8.1
+       >=dev-libs/openssl-1.0.2h-r2
+       >=net-misc/curl-7.49.0
+       >=app-crypt/mit-krb5-1.14.2
+       >=sys-libs/zlib-1.2.8-r1
+       !dev-dotnet/dotnetcore-sdk
+       !dev-dotnet/dotnetcore-sdk-bin"
+
+S=${WORKDIR}
+
+src_install() {
+       local dest="opt/dotnet_core"
+       dodir "${dest}"
+
+       local ddest="${D}${dest}"
+       cp -a "${S}"/* "${ddest}/" || die
+       dosym "/${dest}/dotnet" "/usr/bin/dotnet"
+}

diff --git a/dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-2.1.105.ebuild 
b/dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-2.1.105.ebuild
new file mode 100644
index 0000000..8ec5bbd
--- /dev/null
+++ b/dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-2.1.105.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit eutils
+
+DESCRIPTION=".NET Core SDK - binary precompiled for glibc"
+HOMEPAGE="https://www.microsoft.com/net/core";
+LICENSE="MIT"
+
+SRC_URI="
+amd64? ( 
https://download.microsoft.com/download/2/E/C/2EC018A0-A0FC-40A2-849D-AA692F68349E/dotnet-sdk-${PV}-linux-x64.tar.gz
 -> dotnet-sdk-${PV}-linux-x64.tar.gz )
+"
+
+SLOT="0"
+KEYWORDS="~amd64"
+
+# The sdk includes the runtime-bin and aspnet-bin so prevent from installing 
at the same time
+# dotnetcore-sdk is the source based build
+
+RDEPEND="
+       >=sys-apps/lsb-release-1.4
+       >=sys-devel/llvm-4.0
+       >=dev-util/lldb-4.0
+       >=sys-libs/libunwind-1.1-r1
+       >=dev-libs/icu-57.1
+       >=dev-util/lttng-ust-2.8.1
+       >=dev-libs/openssl-1.0.2h-r2
+       >=net-misc/curl-7.49.0
+       >=app-crypt/mit-krb5-1.14.2
+       >=sys-libs/zlib-1.2.8-r1
+       !dev-dotnet/dotnetcore-sdk
+       !dev-dotnet/dotnetcore-runtime-bin
+       !dev-dotnet/dotnetcore-aspnet-bin"
+
+S=${WORKDIR}
+
+src_install() {
+       local dest="opt/dotnet_core"
+       dodir "${dest}"
+
+       local ddest="${D}${dest}"
+       cp -a "${S}"/* "${ddest}/" || die
+       dosym "/${dest}/dotnet" "/usr/bin/dotnet"
+}

Reply via email to