diff options
Diffstat (limited to 'system/lzop/lzop.SlackBuild')
-rw-r--r-- | system/lzop/lzop.SlackBuild | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/system/lzop/lzop.SlackBuild b/system/lzop/lzop.SlackBuild index fd0279df72af..9b79e00db12d 100644 --- a/system/lzop/lzop.SlackBuild +++ b/system/lzop/lzop.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for lzop -# Copyright (c) 2011, 2012, 2013 Daniel LEVAI +# Copyright (c) 2011-2017 LEVAI Daniel # All rights reserved. # # * Redistribution and use in source and binary forms, with or without @@ -26,7 +26,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=lzop -VERSION=${VERSION:-1.03} +VERSION=${VERSION:-1.04} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -43,7 +43,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ];then +if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then @@ -73,9 +73,12 @@ find -L . \ -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ - ./configure \ +./configure \ --prefix=/usr \ - --mandir=/usr/man + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --build=$ARCH-slackware-linux + make DESTDIR=$PKG make install |