From 181a5f2190a9ab58317a9faa600c2e94536373ee Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Fri, 1 Oct 2010 14:55:36 +0200 Subject: [PATCH] squashfs-tools: improved to enable XZ support if the 'xz' package is effectively installed --- filesystem/squashfs-tools/squashfs-tools.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/filesystem/squashfs-tools/squashfs-tools.conf b/filesystem/squashfs-tools/squashfs-tools.conf index 660acaada..3ad071ca4 100644 --- a/filesystem/squashfs-tools/squashfs-tools.conf +++ b/filesystem/squashfs-tools/squashfs-tools.conf @@ -21,6 +21,11 @@ if ! pkginstalled -f attr; then var_append makeopt ' ' "XATTR_DEFAULT=0" fi +# XZ support +if pkginstalled -f xz; then + var_append makeopt ' ' "XZ_SUPPORT=1" +fi + var_append makeopt ' ' "INSTALL_DIR=$root/$prefix/sbin" makeinstopt="$makeopt install"