Files
guru/dev-dotnet/dotnet-runtime-bin/dotnet-runtime-bin-5.0.5.ebuild
Theo Anderson 4bfca52ca3 dev-dotnet/dotnet-runtime-bin: initial import
Signed-off-by: Theo Anderson <telans@posteo.de>
2021-04-30 23:17:59 +12:00

51 lines
1.1 KiB
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION=".NET Runtime"
HOMEPAGE="https://dotnet.microsoft.com/"
SRC_URI="
amd64? ( https://dotnetcli.azureedge.net/dotnet/Runtime/${PV}/dotnet-runtime-${PV}-linux-x64.tar.gz )
arm? ( https://dotnetcli.azureedge.net/dotnet/Runtime/${PV}/dotnet-runtime-${PV}-linux-arm.tar.gz )
arm64? ( https://dotnetcli.azureedge.net/dotnet/Runtime/${PV}/dotnet-runtime-${PV}-linux-arm64.tar.gz )
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64"
# The SDK includes dotnet-runtime-bin so prevent installing the SDK at the same time
RDEPEND="
app-crypt/mit-krb5
!dev-dotnet/dotnet-sdk-bin
!dev-dotnet/dotnet-sdk-bin-common
dev-libs/icu
dev-util/lldb
dev-util/lttng-ust
net-misc/curl
sys-apps/lsb-release
sys-devel/llvm
sys-libs/zlib
|| (
dev-libs/openssl
dev-libs/openssl-compat
)
|| (
sys-libs/libunwind
sys-libs/llvm-libunwind
)
"
QA_PREBUILT="*"
S="${WORKDIR}"
src_install() {
insinto /opt/dotnet
doins -r "${S}/."
dosym ../../opt/dotnet/dotnet /usr/bin/dotnet
fperms +x /usr/bin/dotnet
doenvd "${FILESDIR}/80dotnet"
}