summaryrefslogtreecommitdiffstats
path: root/cabextract
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2008-05-18 13:34:17 +0000
committer Eric Hameleers <alien@slackware.com>2008-05-18 13:34:17 +0000
commite537ab9140000c3e0fc42187c12f7ac5916237a4 (patch)
tree544188429d474a4de6260cddb9d585e2cdc22797 /cabextract
parent0ecdf4c8fc23e6a2b13d1c9176958f823583fd29 (diff)
downloadasb-e537ab9140000c3e0fc42187c12f7ac5916237a4.tar.gz
asb-e537ab9140000c3e0fc42187c12f7ac5916237a4.tar.xz
Some additional docs and binaries copied; polished the script a little
Diffstat (limited to 'cabextract')
-rwxr-xr-xcabextract/build/cabextract.SlackBuild15
1 files changed, 10 insertions, 5 deletions
diff --git a/cabextract/build/cabextract.SlackBuild b/cabextract/build/cabextract.SlackBuild
index 4a2ac666..226d45ed 100755
--- a/cabextract/build/cabextract.SlackBuild
+++ b/cabextract/build/cabextract.SlackBuild
@@ -48,7 +48,8 @@ VERSION=${VERSION:-1.2}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
-DOCS="AUTHORS COPYING ChangeLog NEWS README TODO doc/wince_cab_format.html"
+DOCS="AUTHORS COPYING ChangeLog NEWS README TODO \
+ doc/magic doc/wince_cab_format.html"
# Where do we look for sources?
CWD=$(pwd)
@@ -174,16 +175,20 @@ else
make DESTDIR=$PKG install 2>&1 |tee $OUTPUT/install-${PRGNAM}.log
fi
+# Add additional binary and scripts:
+cp -a src/cabinfo src/wince_* $PKG/usr/bin/
+
# Add documentation:
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION || true
chmod -R a-w $PKG/usr/doc/$PRGNAM-$VERSION/*
+# Add 'ja' man pages:
+mkdir -p $PKG/usr/man/ja/man1
+cp -a doc/ja/cabextract.1 $PKG/usr/man/ja/man1/
# Compress the man page(s):
-if [ -d $PKG/usr/man ]; then
- find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
- for i in $(find $PKG/usr/man -type l -name "*.?") ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-fi
+find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
+for i in $(find $PKG/usr/man -type l -name "*.?") ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
# Strip binaries:
cd $PKG