source: freewrt/tools/squashfs/Makefile

freewrt_2_0
Last change on this file was 466381d, checked in by Waldemar Brodkorb <wbx@…>, 4 months ago

squashfs: enable ZSTD

  • Property mode set to 100644
File size: 921 bytes
Line 
1# This file is part of the FreeWRT project. FreeWRT is copyrighted
2# material, please see the LICENCE file in the top-level directory
3
4PKG_NAME:= squashfs-tools
5PKG_VERSION:= 4.7
6PKG_MD5SUM:= a303f3747192f0b0b1f66f695669b88f
7
8PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
9PKG_SOURCE_URL:= https://github.com/plougher/squashfs-tools/releases/download/$(PKG_VERSION)/
10
11include $(TOPDIR)/rules.mk
12include ../rules.mk
13
14$(WRKBUILD)/squashfs-tools/mksquashfs: ${WRKBUILD}/.prepared
15 mkdir -p $(STAGING_DIR)/bin
16 (cd $(WRKBUILD) && $(MAKE) -C squashfs-tools \
17 LZO_SUPPORT=0 LZ4_SUPPORT=0 XZ_SUPPORT=0 ZSTD_SUPPORT=1 \
18 all)
19
20$(STAGING_DIR)/bin/mksquashfs: $(WRKBUILD)/squashfs-tools/mksquashfs
21 $(CP) $< $@
22
23source: $(DL_DIR)/$(PKG_SOURCE)
24prepare: ${WRKBUILD}/.prepared
25compile: $(WRKBUILD)/squashfs-tools/mksquashfs $(STAGING_DIR)/bin/mksquashfs
26install: $(STAGING_DIR)/bin/mksquashfs
27clean:
28 rm -rf $(WRKBUILD)
Note: See TracBrowser for help on using the repository browser.