From: Paul Spooren Date: Sat, 11 Apr 2020 07:53:48 +0000 (-1000) Subject: squashfs-tools-ng: add package X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=342de5cfa1f3bd75f8ae3238959de501f302d572;p=openwrt%2Fstaging%2Flynxis.git squashfs-tools-ng: add package The `squashfs-tools-ng` is a reimplementation of `squashfs-tools` of which a fork called `squashfskit` is currently used withn OpenWrt. Signed-off-by: Paul Spooren Signed-off-by: Alexander Couzens --- diff --git a/tools/squashfs-tools-ng/Makefile b/tools/squashfs-tools-ng/Makefile new file mode 100644 index 0000000000..bc5fec2eb5 --- /dev/null +++ b/tools/squashfs-tools-ng/Makefile @@ -0,0 +1,26 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=squashfs-tools-ng +PKG_VERSION:=0.9 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=https://codeload.github.com/AgentD/squashfs-tools-ng/tar.gz/v$(PKG_VERSION)? +PKG_HASH:=da94cadbfa0c8e7cb9af7482e499ed1c51cb38cfd1e6eee63afbae7debec8a61 + +PKG_FIXUP:=autoreconf + +include $(INCLUDE_DIR)/host-build.mk + +define Host/Install + $(INSTALL_DIR) $(STAGING_DIR_HOST)/bin/ + $(INSTALL_BIN) $(HOST_BUILD_DIR)/.libs/gensquashfs $(STAGING_DIR_HOST)/bin/gensquashfs + $(INSTALL_BIN) $(HOST_BUILD_DIR)/.libs/tar2sqfs $(STAGING_DIR_HOST)/bin/tar2sqfs + $(INSTALL_BIN) $(HOST_BUILD_DIR)/.libs/rdsquashfs $(STAGING_DIR_HOST)/bin/rdsquashfs + $(INSTALL_BIN) $(HOST_BUILD_DIR)/.libs/libsquashfs* $(STAGING_DIR_HOST)/lib/ +endef + +define Host/Clean +endef + +$(eval $(call HostBuild))