1*4882a593SmuzhiyunSUMMARY = "New set of tools for working with SquashFS images"
2*4882a593SmuzhiyunSECTION = "base"
3*4882a593SmuzhiyunLICENSE = "GPL-3.0-or-later & LGPL-3.0-or-later & MIT & BSD-2-Clause & Zlib"
4*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING.md;md5=5789fb0572753ed69014cd90a445cd74 \
5*4882a593Smuzhiyun                    file://licenses/GPLv3.txt;md5=1ebbd3e34237af26da5dc08a4e440464 \
6*4882a593Smuzhiyun                    file://licenses/hash_table.txt;md5=874823605326caeaabaa95bfbd0f9fb0 \
7*4882a593Smuzhiyun                    file://licenses/LGPLv3.txt;md5=3000208d539ec061b899bce1d9ce9404 \
8*4882a593Smuzhiyun                    file://licenses/LZ4.txt;md5=ebc2ea4814a64de7708f1571904b32cc \
9*4882a593Smuzhiyun                    file://licenses/xxhash.txt;md5=f042a9be092bd6d7fe6f217d8d00f4ca \
10*4882a593Smuzhiyun                    file://licenses/xz.txt;md5=1c389b9610ccfdb25f7abaea6a0bb5a4 \
11*4882a593Smuzhiyun                    file://licenses/zlib.txt;md5=ae27c72096606131f760e5f59cf98b06 \
12*4882a593Smuzhiyun                    file://licenses/zstd.txt;md5=8df8137b630239cbdd4c0674124cb0c8 \
13*4882a593Smuzhiyun                    "
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunSRCREV = "7667b84cc34707c28ca0db8d24f046ec34e8c25d"
16*4882a593SmuzhiyunSRC_URI = "git://github.com/AgentD/squashfs-tools-ng.git;protocol=https;branch=master"
17*4882a593Smuzhiyun
18*4882a593SmuzhiyunS = "${WORKDIR}/git"
19*4882a593Smuzhiyun
20*4882a593Smuzhiyuninherit autotools pkgconfig
21*4882a593Smuzhiyun
22*4882a593SmuzhiyunPACKAGECONFIG ??= "gzip xz lzo lz4 zstd ${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}"
23*4882a593SmuzhiyunPACKAGECONFIG[gzip] = "--with-gzip,--without-gzip,zlib"
24*4882a593SmuzhiyunPACKAGECONFIG[xz] = "--with-xz,--without-xz,xz"
25*4882a593SmuzhiyunPACKAGECONFIG[lzo] = "--with-lzo,--without-lzo,lzo"
26*4882a593SmuzhiyunPACKAGECONFIG[lz4] = "--with-lz4,--without-lz4,lz4"
27*4882a593SmuzhiyunPACKAGECONFIG[zstd] = "--with-zstd,--without-zstd,zstd"
28*4882a593SmuzhiyunPACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux"
29*4882a593Smuzhiyun
30*4882a593SmuzhiyunPACKAGES =+ "libsquashfs"
31*4882a593SmuzhiyunFILES:libsquashfs = "${libdir}/libsquashfs*${SOLIBS}"
32*4882a593Smuzhiyun
33*4882a593SmuzhiyunBBCLASSEXTEND = "native nativesdk"
34