mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2025-08-16 11:12:53 +00:00
Changelog: https://www.7-zip.org/history.txt All patches are automatically refreshed. Signed-off-by: Shiji Yang <yangshiji66@outlook.com> Link: https://github.com/openwrt/openwrt/pull/19360 Signed-off-by: Nick Hainke <vincent@systemli.org>
32 lines
807 B
Makefile
32 lines
807 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=7z
|
|
PKG_VERSION:=25.00
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)$(subst .,,$(PKG_VERSION))-src.tar.xz
|
|
PKG_SOURCE_URL:=https://7-zip.org/a/
|
|
PKG_HASH:=bff9e69b6ca73a5b8715d7623870a39dc90ad6ce1f4d1070685843987af1af9b
|
|
|
|
PKG_CPE_ID:=cpe:/a:7-zip:7-zip
|
|
|
|
# This builds the 7zr variant which supports only 7z, so no non-LGPL code should be included
|
|
PKG_LICENSE:=LGPL-2.1-or-later
|
|
PKG_LICENSE_FILES:=DOC/License.txt DOC/copying.txt
|
|
|
|
HOST_MAKE_PATH:=CPP/7zip/Bundles/Alone7z
|
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
|
|
TAR_OPTIONS := -C $(HOST_BUILD_DIR) $(TAR_OPTIONS)
|
|
HOST_MAKE_FLAGS += -f makefile.gcc
|
|
|
|
define Host/Install
|
|
$(INSTALL_BIN) $(HOST_BUILD_DIR)/$(HOST_MAKE_PATH)/_o/7zr $(STAGING_DIR_HOST)/bin/
|
|
endef
|
|
|
|
define Host/Clean
|
|
rm -f $(STAGING_DIR_HOST)/bin/7zr
|
|
endef
|
|
|
|
$(eval $(call HostBuild))
|