summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/lzip/lzip.SlackBuild25
-rw-r--r--system/lzip/lzip.info6
2 files changed, 12 insertions, 19 deletions
diff --git a/system/lzip/lzip.SlackBuild b/system/lzip/lzip.SlackBuild
index 982bf05185..ba3af43f84 100644
--- a/system/lzip/lzip.SlackBuild
+++ b/system/lzip/lzip.SlackBuild
@@ -22,16 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Updated for version 1.14 March 2013.
-# Updated for version 1.15 November 2013.
+# Updated for version 1.16 November 2014.
PRGNAM=lzip
-VERSION=1.15
+VERSION=${VERSION:-1.16}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-SRC_VERSION=$(echo $VERSION | tr _ -)
-
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
@@ -63,27 +60,23 @@ set -e # exit on most errors
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-rm -rf $TMP/$PRGNAM-$SRC_VERSION
+rm -rf $TMP/$PRGNAM-$VERSION
cd $TMP
-tar xvf $CWD/$PRGNAM-$SRC_VERSION.tar.gz
-cd $PRGNAM-$SRC_VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 \
+ -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
--mandir=/usr/man \
--infodir=/usr/info \
- --build=$ARCH-slackware-linux
make CFLAGS+="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS"
make install DESTDIR=$PKG
diff --git a/system/lzip/lzip.info b/system/lzip/lzip.info
index ca1a4db269..8608a3ca86 100644
--- a/system/lzip/lzip.info
+++ b/system/lzip/lzip.info
@@ -1,8 +1,8 @@
PRGNAM="lzip"
-VERSION="1.15"
+VERSION="1.16"
HOMEPAGE="http://www.nongnu.org/lzip/lzip.html"
-DOWNLOAD="http://download.savannah.gnu.org/releases/lzip/lzip-1.15.tar.gz"
-MD5SUM="e83a364c8544fc66cccb552369d93220"
+DOWNLOAD="http://download.savannah.gnu.org/releases/lzip/lzip-1.16.tar.gz"
+MD5SUM="716a9876dc595ec52d4f3bda81e42471"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""