diff options
author | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2024-10-01 15:13:53 -0400 |
---|---|---|
committer | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2024-10-01 15:13:53 -0400 |
commit | 552e7282232777e70e8dc20a647e5a6f0ec748b6 (patch) | |
tree | 4a4df1726268ffcbfeb3feaf36714ebf5d62628c /dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-7.0.10.ebuild | |
parent | 34f77e8aa6a9695d29a1c8b3623d2c4c4f7347c8 (diff) | |
download | gentoo-overlay-552e7282232777e70e8dc20a647e5a6f0ec748b6.tar.xz gentoo-overlay-552e7282232777e70e8dc20a647e5a6f0ec748b6.zip |
dev-dotnet/dotnet-runtime-bin: upgrade
Diffstat (limited to 'dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-7.0.10.ebuild')
-rw-r--r-- | dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-7.0.10.ebuild | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-7.0.10.ebuild b/dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-7.0.10.ebuild deleted file mode 100644 index 3d47925..0000000 --- a/dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-7.0.10.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -DESCRIPTION=".NET is a free, cross-platform, open-source developer platform" -HOMEPAGE="https://dotnet.microsoft.com/" -LICENSE="MIT" - -gen_src_uri() { - echo "$1? ( - elibc_glibc? ( https://dotnetcli.azureedge.net/dotnet/Runtime/${PV}/dotnet-runtime-${PV}-linux-${2:-$1}.tar.gz ) - elibc_musl? ( https://dotnetcli.azureedge.net/dotnet/Runtime/${PV}/dotnet-runtime-${PV}-linux-musl-${2:-$1}.tar.gz ) - )" -} - -SRC_URI=" - $(gen_src_uri amd64 x64) - $(gen_src_uri arm) - $(gen_src_uri arm64) -" - -SLOT="$(ver_cut 1-2)" -KEYWORDS="~amd64 ~arm ~arm64" -IUSE="dotnet-symlink kerberos lttng" -QA_PREBUILT="*" -RESTRICT+=" splitdebug" -RDEPEND=" - kerberos? ( app-crypt/mit-krb5:0/0 ) - lttng? ( dev-util/lttng-ust:0 ) - sys-libs/zlib:0/1 - dotnet-symlink? ( - !dev-dotnet/dotnet-sdk[dotnet-symlink(+)] - !dev-dotnet/dotnet-sdk-bin - !dev-dotnet/dotnet-runtime[dotnet-symlink(+)] - ) -" - -S=${WORKDIR} - -delete() { - test -n "$(find . -name "$1" -print -delete)" -} - -src_compile() { - use kerberos || delete libSystem.Net.Security.Native.so || die - use lttng || delete libcoreclrtraceptprovider.so || die -} - -src_install() { - local dest="opt/${PN}-${SLOT}" - dodir "${dest%/*}" - - { mv "${S}" "${ED}/${dest}" && mkdir "${S}" && fperms 0755 "/${dest}"; } || die - - if use dotnet-symlink; then - dosym "../../${dest}/dotnet" "/usr/bin/dotnet" - dosym "../../${dest}/dotnet" "/usr/bin/dotnet-${SLOT}" - dosym "../../${dest}/dotnet" "/usr/bin/dotnet-bin-${SLOT}" - - # set an env-variable for 3rd party tools - echo "DOTNET_ROOT=/${dest}" > "${T}/90${PN}-${SLOT}" || die - doenvd "${T}/90${PN}-${SLOT}" - fi -} |