From 17b37672b7c62ea8f735bd856769825738f5ce23 Mon Sep 17 00:00:00 2001 From: Erik Hanson Date: Sun, 21 Mar 2010 21:56:33 -0500 Subject: system/pbzip2: Version bump. --- system/pbzip2/pbzip2.SlackBuild | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) mode change 100644 => 100755 system/pbzip2/pbzip2.SlackBuild (limited to 'system/pbzip2/pbzip2.SlackBuild') diff --git a/system/pbzip2/pbzip2.SlackBuild b/system/pbzip2/pbzip2.SlackBuild old mode 100644 new mode 100755 index e2b263d555..c685f8421a --- a/system/pbzip2/pbzip2.SlackBuild +++ b/system/pbzip2/pbzip2.SlackBuild @@ -2,7 +2,7 @@ # # Slackware build script for PBZIP2 # -# Copyright 2009 Erik W. Hanson, Minneapolis, MN, USA +# Copyright 2009-2010 Erik W. Hanson, Minneapolis, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=pbzip2 -VERSION=1.0.5 +VERSION=1.1.0 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -33,14 +33,14 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -eu - if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" +else + SLKCFLAGS="-O2" fi set -eu @@ -56,8 +56,8 @@ chmod -R u+w,go+r-w,a-s . make CFLAGS+="$SLKCFLAGS" -# DESTDIR isn't supported, install manually -mkdir -p $PKG/usr/{bin,man/man1,doc/$PRGNAM-$VERSION} $PKG/install +# DESTDIR isn't supported; install manually +mkdir -p $PKG/usr/{bin,man/man1,doc/$PRGNAM-$VERSION} # Binary cp pbzip2 $PKG/usr/bin/pbzip2 @@ -70,6 +70,8 @@ chmod 0644 $PKG/usr/man/man1/pbzip2.1.gz cp -a AUTHORS COPYING ChangeLog README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -- cgit v1.2.3