@ -16,5 +16,12 @@
makeinstopt=
hook_add preconf 2 'cd squashfs-tools'
# xattr support
if ! pkginstalled -f attr; then
var_append makeopt ' ' "XATTR_SUPPORT=0"
var_append makeopt ' ' "XATTR_DEFAULT=0"
fi
hook_add postmake 5 "install {mk,un}squashfs $root$sbindir/"