summaryrefslogtreecommitdiff
path: root/network/mangler/mangler.SlackBuild
diff options
context:
space:
mode:
authorJames Geboski <jgeboski@gmail.com>2013-04-21 08:54:09 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2013-04-21 08:54:09 -0300
commitc8986b7bf15c0770b13c457d36ce306c59742c53 (patch)
treea42186ba11f0bff115b5d14d17d71cb0257c016e /network/mangler/mangler.SlackBuild
parent449bb688fd240b169e897c5eaec5050a384d68ab (diff)
downloadslackbuilds-c8986b7bf15c0770b13c457d36ce306c59742c53.tar.gz
network/mangler: Updated for version 1.2.5.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
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