Gentoo Archives: gentoo-commits

From: Mikhail Pukhlikov <cynede@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/dotnet:master commit in: dev-dotnet/dotnetcore-runtime-bin/, dev-dotnet/dotnetcore-sdk-bin/
Date: Mon, 26 Mar 2018 06:35:20
Message-Id: 1522022690.66d5d80713b9b5f5f089050826a0b6bb2ef03834.cynede@gentoo
1 commit: 66d5d80713b9b5f5f089050826a0b6bb2ef03834
2 Author: grbd <garlicbready <AT> googlemail <DOT> com>
3 AuthorDate: Mon Mar 26 00:04:50 2018 +0000
4 Commit: Mikhail Pukhlikov <cynede <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 26 00:04:50 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=66d5d807
7
8 updates to dotnet core sdk / runtime
9
10 .../dotnetcore-runtime-bin-2.0.6.ebuild | 45 +++++++++++++++++++++
11 .../dotnetcore-sdk-bin-2.1.102.ebuild | 46 ++++++++++++++++++++++
12 2 files changed, 91 insertions(+)
13
14 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
15 new file mode 100644
16 index 0000000..960374f
17 --- /dev/null
18 +++ b/dev-dotnet/dotnetcore-runtime-bin/dotnetcore-runtime-bin-2.0.6.ebuild
19 @@ -0,0 +1,45 @@
20 +# Copyright 1999-2018 Gentoo Foundation
21 +# Distributed under the terms of the GNU General Public License v2
22 +
23 +EAPI="6"
24 +
25 +inherit eutils
26 +
27 +DESCRIPTION=".NET Core Runtime - binary precompiled for glibc"
28 +HOMEPAGE="https://www.microsoft.com/net/core"
29 +LICENSE="MIT"
30 +
31 +SRC_URI="
32 +amd64? ( https://dotnetcli.blob.core.windows.net/dotnet/Runtime/${PV}/dotnet-runtime-${PV}-linux-x64.tar.gz -> dotnet-runtime-${PV}-linux-x64.tar.gz )
33 +arm? ( https://dotnetcli.blob.core.windows.net/dotnet/Runtime/${PV}/dotnet-runtime-${PV}-linux-arm.tar.gz -> dotnet-runtime-${PV}-linux-arm.tar.gz )
34 +"
35 +
36 +SLOT="0"
37 +KEYWORDS="~amd64 ~arm"
38 +
39 +# The sdk includes the runtime-bin and aspnet-bin so prevent from installing at the same time
40 +
41 +RDEPEND="
42 + >=sys-apps/lsb-release-1.4
43 + >=sys-devel/llvm-4.0
44 + amd64? ( >=dev-util/lldb-4.0 )
45 + >=sys-libs/libunwind-1.1-r1
46 + >=dev-libs/icu-57.1
47 + >=dev-util/lttng-ust-2.8.1
48 + >=dev-libs/openssl-1.0.2h-r2
49 + >=net-misc/curl-7.49.0
50 + >=app-crypt/mit-krb5-1.14.2
51 + >=sys-libs/zlib-1.2.8-r1
52 + !dev-dotnet/dotnetcore-sdk
53 + !dev-dotnet/dotnetcore-sdk-bin"
54 +
55 +S=${WORKDIR}
56 +
57 +src_install() {
58 + local dest="opt/dotnet_core"
59 + dodir "${dest}"
60 +
61 + local ddest="${D}${dest}"
62 + cp -a "${S}"/* "${ddest}/" || die
63 + dosym "/${dest}/dotnet" "/usr/bin/dotnet"
64 +}
65
66 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
67 new file mode 100644
68 index 0000000..572e61c
69 --- /dev/null
70 +++ b/dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-2.1.102.ebuild
71 @@ -0,0 +1,46 @@
72 +# Copyright 1999-2018 Gentoo Foundation
73 +# Distributed under the terms of the GNU General Public License v2
74 +
75 +EAPI="6"
76 +
77 +inherit eutils
78 +
79 +DESCRIPTION=".NET Core SDK - binary precompiled for glibc"
80 +HOMEPAGE="https://www.microsoft.com/net/core"
81 +LICENSE="MIT"
82 +
83 +SRC_URI="
84 +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 )
85 +"
86 +
87 +SLOT="0"
88 +KEYWORDS="~amd64"
89 +
90 +# The sdk includes the runtime-bin and aspnet-bin so prevent from installing at the same time
91 +# dotnetcore-sdk is the source based build
92 +
93 +RDEPEND="
94 + >=sys-apps/lsb-release-1.4
95 + >=sys-devel/llvm-4.0
96 + >=dev-util/lldb-4.0
97 + >=sys-libs/libunwind-1.1-r1
98 + >=dev-libs/icu-57.1
99 + >=dev-util/lttng-ust-2.8.1
100 + >=dev-libs/openssl-1.0.2h-r2
101 + >=net-misc/curl-7.49.0
102 + >=app-crypt/mit-krb5-1.14.2
103 + >=sys-libs/zlib-1.2.8-r1
104 + !dev-dotnet/dotnetcore-sdk
105 + !dev-dotnet/dotnetcore-runtime-bin
106 + !dev-dotnet/dotnetcore-aspnet-bin"
107 +
108 +S=${WORKDIR}
109 +
110 +src_install() {
111 + local dest="opt/dotnet_core"
112 + dodir "${dest}"
113 +
114 + local ddest="${D}${dest}"
115 + cp -a "${S}"/* "${ddest}/" || die
116 + dosym "/${dest}/dotnet" "/usr/bin/dotnet"
117 +}