Browse Source

squashfs-tools: improved to enable LZO support if lzo is installed

user/chris/0.1.0/grsecurity
Christian Wiese 14 years ago
parent
commit
6fed10bad3
  1. 7
      filesystem/squashfs-tools/squashfs-tools.conf

7
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"

Loading…
Cancel
Save