diff --git a/package/curios-httpd/Config.in b/package/curios-httpd/Config.in index c2dbfa25..2b9565e8 100644 --- a/package/curios-httpd/Config.in +++ b/package/curios-httpd/Config.in @@ -2,8 +2,8 @@ config BR2_PACKAGE_CURIOS_HTTPD bool "curiOS-httpd" help Example of how to bundle an OCI archive of curiOS-httpd in - /lib/oci for the given target architecture. OCI archives - can also be bundled in post-build.sh, but with packaging - the "source" is bundled in SDK builds. + /lib/oci for the given target architecture. OCI archives can + also be bundled in post-build.sh, but with packaging all the + "source" tarballs are bundled for SDK builds (archiving). https://github.com/kernelkit/curiOS diff --git a/package/curios-httpd/curios-httpd.mk b/package/curios-httpd/curios-httpd.mk index 02983904..05946c03 100644 --- a/package/curios-httpd/curios-httpd.mk +++ b/package/curios-httpd/curios-httpd.mk @@ -9,11 +9,11 @@ CURIOS_HTTPD_SOURCE = curios-httpd-oci-$(GO_GOARCH)-$(CURIOS_HTTPD_VERSION).tar. CURIOS_HTTPD_SITE = https://github.com/kernelkit/curiOS/releases/download/$(CURIOS_HTTPD_VERSION) CURIOS_HTTPD_LICENSE = GPL CURIOS_HTTPD_LICENSE_FILES = COPYING -CURIOS_HTTPD_INSTALL_TARGET = YES define CURIOS_HTTPD_INSTALL_TARGET_CMDS mkdir -p $(TARGET_DIR)/lib/oci - (cd $(@D)/.. && $(TAR) cfz $(TARGET_DIR)/lib/oci/$(notdir $(@D)).tar.gz $(notdir $(@D))) + cp $(CURIOS_HTTPD_DL_DIR)/$(CURIOS_HTTPD_SOURCE) \ + $(TARGET_DIR)/lib/oci/$(notdir $(@D)).tar.gz endef $(eval $(generic-package))