summaryrefslogtreecommitdiff
path: root/system/cabextract/cabextract.SlackBuild
diff options
context:
space:
mode:
authorArTourter <artourter@gmail.com>2011-01-02 01:28:07 -0200
committerRobby Workman <rworkman@slackbuilds.org>2011-01-02 00:27:08 -0600
commitf6746f7cf3b3b16e8c8a2388f1a27822f3b5818e (patch)
tree92dad725810516c223970a4a898fe08723c557b6 /system/cabextract/cabextract.SlackBuild
parent1fcd179d1785c277f3fa3ed7d4017ff46f2d1633 (diff)
downloadslackbuilds-f6746f7cf3b3b16e8c8a2388f1a27822f3b5818e.tar.gz
system/cabextract: Updated for version 1.3.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'system/cabextract/cabextract.SlackBuild')
-rw-r--r--system/cabextract/cabextract.SlackBuild17
1 files changed, 7 insertions, 10 deletions
diff --git a/system/cabextract/cabextract.SlackBuild b/system/cabextract/cabextract.SlackBuild
index 18dbfb039a..5a6e1ad0f8 100644
--- a/system/cabextract/cabextract.SlackBuild
+++ b/system/cabextract/cabextract.SlackBuild
@@ -2,7 +2,8 @@
# Slackware build script for cabextract
-# Copyright 2006 Yalla-One <yallaone@gmail.com>
+# Copyright 2006-2010 Yalla-One <yallaone@gmail.com>
+# Copyright 2011 Gregory J. L. Tourter <artourter@gmail.com
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,16 +24,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=cabextract
-VERSION=1.2
+VERSION=1.3
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -74,7 +73,7 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--localstatedir=/var \
--sysconfdir=/etc \
- --disable-debug \
+ --mandir=/usr/man \
--build=$ARCH-slackware-linux
make
@@ -87,12 +86,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
-chmod 0644 $PKG/usr/doc/$PRGNAM-$VERSION/*
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc