From 7dab5d039f9d7a6524bb8effd26c1426f4b989c5 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Sun, 3 Oct 2010 01:13:29 +0200 Subject: [PATCH] squashfs-tools: improved to enable LZO support if lzo is installed --- filesystem/squashfs-tools/squashfs-tools.conf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/filesystem/squashfs-tools/squashfs-tools.conf b/filesystem/squashfs-tools/squashfs-tools.conf index 3ad071ca4..1f1e97bce 100644 --- a/filesystem/squashfs-tools/squashfs-tools.conf +++ b/filesystem/squashfs-tools/squashfs-tools.conf @@ -26,6 +26,13 @@ if pkginstalled -f xz; then var_append makeopt ' ' "XZ_SUPPORT=1" fi +# LZO support +if pkginstalled -f lzo; then + var_append makeopt ' ' "LZO_SUPPORT=1" + var_append makeopt ' ' "LZO_DIR=$( pkgprefix -r lzo )" + var_append makeopt ' ' "LZO_LIBDIR=-L$( pkgprefix -r libdir lzo )" +fi + var_append makeopt ' ' "INSTALL_DIR=$root/$prefix/sbin" makeinstopt="$makeopt install"