diff options
author | Erik Hanson <erik@slackbuilds.org> | 2010-03-21 21:56:33 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 14:20:26 +0200 |
commit | 17b37672b7c62ea8f735bd856769825738f5ce23 (patch) | |
tree | 1a7b14c80c36e9549c5e76de27021c7df454589c /system/pbzip2/pbzip2.SlackBuild | |
parent | 7c097f27613f58ca7c71fa26928d5ca683d9f1f7 (diff) |
system/pbzip2: Version bump.
Diffstat (limited to 'system/pbzip2/pbzip2.SlackBuild')
-rwxr-xr-x[-rw-r--r--] | system/pbzip2/pbzip2.SlackBuild | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/system/pbzip2/pbzip2.SlackBuild b/system/pbzip2/pbzip2.SlackBuild index e2b263d5556f0..c685f8421a22f 100644..100755 --- 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 |