mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
.NET 3.1.16 which includes both .NET and ASP.NET Core Runtimes have been relocated to the dotnet3-runtime package to enable both 3.x, 5.x to be available to applications. Also added .NET Runtime 5.0.7 and ASP.NET Core Runtime 5.0.7 The following additional packages have been added as dependancies of this package. - add aspnet5-runtime (used by Jellyfin) - add dotnet3-runtime (used by Emby4) - add dotnet5-runtime (used by Jellyfin)
34 lines
1.2 KiB
Makefile
34 lines
1.2 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="dotnet-runtime"
|
|
PKG_REV="114"
|
|
PKG_ARCH="any"
|
|
PKG_LICENSE="MIT"
|
|
PKG_SITE="https://dotnet.microsoft.com/"
|
|
PKG_DEPENDS_TARGET="toolchain icu aspnet5-runtime dotnet3-runtime dotnet5-runtime icu"
|
|
PKG_SECTION="tools"
|
|
PKG_SHORTDESC="ASP.NET Core Runtime"
|
|
PKG_LONGDESC="ASP.NET Core Runtimes ($(get_pkg_version dotnet3-runtime)) and ($(get_pkg_version dotnet5-runtime)) enables you to run existing console/web/server applications."
|
|
PKG_TOOLCHAIN="manual"
|
|
|
|
PKG_IS_ADDON="yes"
|
|
PKG_ADDON_NAME="ASP.Net Core Runtimes"
|
|
PKG_ADDON_PROJECTS="any !RPi1"
|
|
PKG_ADDON_TYPE="xbmc.python.script"
|
|
PKG_MAINTAINER="Anton Voyl (awiouy)"
|
|
|
|
addon() {
|
|
mkdir -p ${ADDON_BUILD}/${PKG_ADDON_ID}/bin
|
|
cp -r $(get_build_dir dotnet3-runtime)/* \
|
|
${ADDON_BUILD}/${PKG_ADDON_ID}/bin
|
|
cp -r $(get_build_dir dotnet5-runtime)/* \
|
|
${ADDON_BUILD}/${PKG_ADDON_ID}/bin
|
|
cp -r $(get_build_dir aspnet5-runtime)/* \
|
|
${ADDON_BUILD}/${PKG_ADDON_ID}/bin
|
|
|
|
mkdir -p ${ADDON_BUILD}/${PKG_ADDON_ID}/lib
|
|
cp -L $(get_install_dir icu)/usr/lib/lib*.so.?? \
|
|
${ADDON_BUILD}/${PKG_ADDON_ID}/lib/
|
|
}
|