summaryrefslogtreecommitdiff
path: root/network/mangler/mangler.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/mangler/mangler.SlackBuild')
-rw-r--r--network/mangler/mangler.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/network/mangler/mangler.SlackBuild b/network/mangler/mangler.SlackBuild
index f5fdf9da30..4762963ef6 100644
--- a/network/mangler/mangler.SlackBuild
+++ b/network/mangler/mangler.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for Mangler
-# Copyright 2010 James Geboski <jgeboski@gmail.com>
+# Copyright 2010-2013 James Geboski <jgeboski@gmail.com>
# 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=mangler
-VERSION=${VERSION:-1.2.2}
+VERSION=${VERSION:-1.2.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -74,6 +74,7 @@ CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
+ --mandir=/usr/man \
--build=$ARCH-slackware-linux
make
@@ -82,6 +83,9 @@ make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+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
cat $CWD/doinst.sh > $PKG/install/doinst.sh