system/cabextract: Updated for version 1.3.

Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
ArTourter 2011-01-02 01:28:07 -02:00 committed by Robby Workman
parent 1fcd179d17
commit f6746f7cf3
3 changed files with 14 additions and 17 deletions

View file

@ -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

View file

@ -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"

View file

@ -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,