commit:     66d5d80713b9b5f5f089050826a0b6bb2ef03834
Author:     grbd <garlicbready <AT> googlemail <DOT> com>
AuthorDate: Mon Mar 26 00:04:50 2018 +0000
Commit:     Mikhail Pukhlikov <cynede <AT> gentoo <DOT> org>
CommitDate: Mon Mar 26 00:04:50 2018 +0000
URL:        https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=66d5d807

updates to dotnet core sdk / runtime

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

diff --git 
a/dev-dotnet/dotnetcore-runtime-bin/dotnetcore-runtime-bin-2.0.6.ebuild 
b/dev-dotnet/dotnetcore-runtime-bin/dotnetcore-runtime-bin-2.0.6.ebuild
new file mode 100644
index 0000000..960374f
--- /dev/null
+++ b/dev-dotnet/dotnetcore-runtime-bin/dotnetcore-runtime-bin-2.0.6.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.102.ebuild 
b/dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-2.1.102.ebuild
new file mode 100644
index 0000000..572e61c
--- /dev/null
+++ b/dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-2.1.102.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/1/2/E/12E2BC14-7A9F-4497-A351-02B7C2DDD599/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