summaryrefslogtreecommitdiff
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
parent1fcd179d1785c277f3fa3ed7d4017ff46f2d1633 (diff)
downloadslackbuilds-f6746f7cf3b3b16e8c8a2388f1a27822f3b5818e.tar.gz
system/cabextract: Updated for version 1.3.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
-rw-r--r--system/cabextract/cabextract.SlackBuild17
-rw-r--r--system/cabextract/cabextract.info12
-rw-r--r--system/cabextract/slack-desc2
3 files changed, 14 insertions, 17 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
diff --git a/system/cabextract/cabextract.info b/system/cabextract/cabextract.info
index 3dd7872d26..7e84f2e305 100644
--- a/system/cabextract/cabextract.info
+++ b/system/cabextract/cabextract.info
@@ -1,10 +1,10 @@
PRGNAM="cabextract"
-VERSION="1.2"
+VERSION="1.3"
HOMEPAGE="http://www.cabextract.org.uk"
-DOWNLOAD="http://www.cabextract.org.uk/cabextract-1.2.tar.gz"
-MD5SUM="dc421a690648b503265c82ade84e143e"
+DOWNLOAD="http://www.cabextract.org.uk/cabextract-1.3.tar.gz"
+MD5SUM="cb9a4a38470d2a71a0275968e7eb64d3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-MAINTAINER="Yalla-One"
-EMAIL="yallaone@gmail.com"
-APPROVED="rworkman"
+MAINTAINER="ArTourter"
+EMAIL="artourter@gmail.com"
+APPROVED="Niels Horn"
diff --git a/system/cabextract/slack-desc b/system/cabextract/slack-desc
index 1fe26aa3da..56b83951e1 100644
--- a/system/cabextract/slack-desc
+++ b/system/cabextract/slack-desc
@@ -5,7 +5,7 @@
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
- |-----handy-ruler------------------------------------------------------|
+ |-----handy-ruler------------------------------------------------------|
cabextract: cabextract (Extract Microsoft cabinet files)
cabextract:
cabextract: cabextract is Free Software for extracting Microsoft cabinet files,