# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/squashfs-tools/squashfs-tools.conf # Copyright (C) 2004 - 2024 The T2 SDE Project # # This Copyright note is generated by scripts/Create-CopyPatch, # more information can be found in the files COPYING and README. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2. # --- T2-COPYRIGHT-NOTE-END --- pkginstalled attr && var_append makeopt ' ' 'XATTR_SUPPORT=1' pkginstalled gzip || var_append makeopt ' ' 'GZ_SUPPORT=0' pkginstalled xz && var_append makeopt ' ' 'XZ_SUPPORT=1' pkginstalled lz4 && var_append makeopt ' ' 'LZ4_SUPPORT=1' pkginstalled lzo && var_append makeopt ' ' 'LZO_SUPPORT=1' pkginstalled zstd && var_append makeopt ' ' 'ZSTD_SUPPORT=1' var_insert GCC_WRAPPER_INSERT ' ' '-fgnu89-inline' makeinstopt= hook_add preconf 2 'cd squashfs-tools' hook_add postmake 5 "install {mk,un}squashfs $root$sbindir/"