-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Initial release. * Change picture to use the dotnet8 package one. * add support for DSM 6 --------- Co-authored-by: Brice FROMENTIN <[email protected]> Co-authored-by: hgy59 <[email protected]>
- Loading branch information
1 parent
66f6d99
commit a9141db
Showing
5 changed files
with
95 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
PKG_NAME = aspnetcore-runtime | ||
PKG_VERS = 9.0.0 | ||
PKG_EXT = tar.gz | ||
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS)-$(PKG_DIST_ARCH).$(PKG_EXT) | ||
PKG_DIST_SITE = https://download.visualstudio.microsoft.com/download/pr/$(PKG_DIST_FOLDER) | ||
PKG_DIR = $(PKG_NAME)-$(PKG_VERS) | ||
EXTRACT_PATH = $(WORK_DIR)/$(PKG_DIR) | ||
|
||
include ../../mk/spksrc.archs.mk | ||
|
||
# use digests with multiple files and individual dist names | ||
# both lists must have the same order | ||
PKG_DIST_ARCH_LIST = linux-x64 linux-arm linux-arm64 | ||
PKG_DIST_SITE_LIST = https://download.visualstudio.microsoft.com/download/pr/e4791376-b70d-431f-bd98-5397c876b946/64ffc29a4edc8fd70b151c2963b38b09/$(PKG_NAME)-$(PKG_VERS)-linux-x64.$(PKG_EXT) | ||
PKG_DIST_SITE_LIST += https://download.visualstudio.microsoft.com/download/pr/84aa8e86-c6a1-4562-84f3-828e836ef26c/96772a224b9ff3be8904b63f37d7cf63/$(PKG_NAME)-$(PKG_VERS)-linux-arm.$(PKG_EXT) | ||
PKG_DIST_SITE_LIST += https://download.visualstudio.microsoft.com/download/pr/b2029a3e-c67e-4905-ad1f-08b164322520/bd68ea0b77f12df21b935da338fdaf25/$(PKG_NAME)-$(PKG_VERS)-linux-arm64.$(PKG_EXT) | ||
|
||
ifeq ($(findstring $(ARCH), $(x64_ARCHS)),$(ARCH)) | ||
PKG_DIST_ARCH = $(word 1,$(PKG_DIST_ARCH_LIST)) | ||
PKG_DIST_FOLDER = $(shell echo $(word 1,$(PKG_DIST_SITE_LIST)) | grep -o1P ".*/download/pr/\K([^/]*/[^/]*)") | ||
endif | ||
ifeq ($(findstring $(ARCH), $(ARMv7_ARCHS)),$(ARCH)) | ||
PKG_DIST_ARCH = $(word 2,$(PKG_DIST_ARCH_LIST)) | ||
PKG_DIST_FOLDER = $(shell echo $(word 2,$(PKG_DIST_SITE_LIST)) | grep -o1P ".*/download/pr/\K([^/]*/[^/]*)") | ||
endif | ||
ifeq ($(findstring $(ARCH), $(ARMv8_ARCHS)),$(ARCH)) | ||
PKG_DIST_ARCH = $(word 3,$(PKG_DIST_ARCH_LIST)) | ||
PKG_DIST_FOLDER = $(shell echo $(word 3,$(PKG_DIST_SITE_LIST)) | grep -o1P ".*/download/pr/\K([^/]*/[^/]*)") | ||
endif | ||
|
||
ifeq ($(PKG_DIST_ARCH),) | ||
$(error Unsupported ARCH $(ARCH)) | ||
endif | ||
|
||
HOMEPAGE = https://dotnet.microsoft.com/ | ||
COMMENT = Free. Cross-platform. Open source. A developer platform for building all apps. | ||
LICENSE = MIT | ||
|
||
INSTALL_TARGET = dotnet_runtime_custom_install | ||
|
||
include ../../mk/spksrc.install-resources.mk | ||
|
||
.PHONY: dotnet_runtime_custom_install | ||
dotnet_runtime_custom_install: | ||
mkdir -p "$(INSTALL_DIR)/$(INSTALL_PREFIX)/share/dotnet/" | ||
tar -cf - -C $(EXTRACT_PATH) . | tar -xf - -C "$(INSTALL_DIR)/$(INSTALL_PREFIX)/share/dotnet/" |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
aspnetcore-runtime-9.0.0-linux-x64.tar.gz MD5 2c998f639d0accaa5bc95897dcfe3457 | ||
aspnetcore-runtime-9.0.0-linux-x64.tar.gz SHA1 38f09aca9ef8f85812bd01b8bd2fab87fc33aec8 | ||
aspnetcore-runtime-9.0.0-linux-x64.tar.gz SHA256 e00636ad9ca0fbcd777188036b52e520279dc4ac38fde3d14898869d16557ae0 | ||
aspnetcore-runtime-9.0.0-linux-arm.tar.gz MD5 d6464c1cc89a6ebb9b945096b44eeac5 | ||
aspnetcore-runtime-9.0.0-linux-arm.tar.gz SHA1 bbfd89cc61608323789d130f98d49fb7f426cc3d | ||
aspnetcore-runtime-9.0.0-linux-arm.tar.gz SHA256 f3bf3dfe0f21afae8a130c07e67028abd1b80ac5523624729dac39ad0f2d8d9f | ||
aspnetcore-runtime-9.0.0-linux-arm64.tar.gz MD5 3c5728f2b36debee4824a87a9d4af09f | ||
aspnetcore-runtime-9.0.0-linux-arm64.tar.gz SHA1 d2fd672e4f89345e7636c39b8c4677d919082dde | ||
aspnetcore-runtime-9.0.0-linux-arm64.tar.gz SHA256 9811d42c2dc6ffd9b6b69d4f2f6387f0d4add812eddf28ea178b5f751741bf7c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
SPK_NAME = dotnet9-runtime | ||
SPK_VERS = 9.0.0 | ||
SPK_REV = 1 | ||
SPK_ICON = src/dotnet.png | ||
|
||
OPTIONAL_DEPENDS = cross/libstdc++ | ||
DEPENDS = cross/dotnet9-runtime | ||
|
||
REQUIRED_MIN_DSM = 6.0 | ||
|
||
# Arch exclusions for dotnet | ||
DOTNET_CORE_ARCHS = 1 | ||
|
||
MAINTAINER = brice-fromentin | ||
DESCRIPTION = Free. Cross-platform. Open source. A developer platform for building all apps. This package installs the dotnet runtime and the asp.net.core runtime. | ||
CHANGELOG = "Initial release of dotnet-runtime v9.0.0." | ||
|
||
STARTABLE = no | ||
DISPLAY_NAME = .NET 9 runtime | ||
|
||
HOMEPAGE = https://dotnet.microsoft.com/ | ||
LICENSE = MIT | ||
|
||
include ../../mk/spksrc.common.mk | ||
ifeq ($(call version_lt, ${TCVERSION}, 7.0),1) | ||
# we do not only need the updated libstdc++ library, we also need to | ||
# adjust the library search path for dotnet to use this version. | ||
DEPENDS += cross/libstdc++ | ||
POST_STRIP_TARGET = dotnet_patch_target | ||
endif | ||
|
||
SPK_COMMANDS = share/dotnet/dotnet | ||
|
||
include ../../mk/spksrc.spk.mk | ||
|
||
.PHONY: dotnet_patch_target | ||
# Set library path to use bundled libstdc++ | ||
dotnet_patch_target: | ||
@$(MSG) "Set library runpath in dotnet executable." | ||
@patchelf --set-rpath /var/packages/$(SPK_NAME)/target/lib $(STAGING_DIR)/share/dotnet/dotnet |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.