summaryrefslogtreecommitdiff
path: root/system/makepasswd/makepasswd.SlackBuild
diff options
context:
space:
mode:
authorPablo Santamaria <pablosantamaria@gmail.com>2014-02-09 09:01:12 +0700
committerErik Hanson <erik@slackbuilds.org>2014-02-11 12:15:06 -0600
commita3c7c827d74a1744aae0f6a171d4e2241233d244 (patch)
tree8bfcf6468a4dd5d3411c29942adbc39ee7b40e9f /system/makepasswd/makepasswd.SlackBuild
parent1be35e49fd8adc9585df13d5e4fa69eda6d17c68 (diff)
downloadslackbuilds-a3c7c827d74a1744aae0f6a171d4e2241233d244.tar.gz
system/makepasswd: Updated for version 0.5.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/makepasswd/makepasswd.SlackBuild')
-rw-r--r--system/makepasswd/makepasswd.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/system/makepasswd/makepasswd.SlackBuild b/system/makepasswd/makepasswd.SlackBuild
index dba6eb4879..523b2f2879 100644
--- a/system/makepasswd/makepasswd.SlackBuild
+++ b/system/makepasswd/makepasswd.SlackBuild
@@ -5,7 +5,7 @@
# Written by Pablo Santamaria (pablosantamaria@gmail.com)
PRGNAM=makepasswd
-VERSION=${VERSION:-0.5.0}
+VERSION=${VERSION:-0.5.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -52,11 +52,15 @@ find -L . \
-exec chmod 644 {} \;
make CFLAGS="$SLKCFLAGS"
-make PREFIX=$PKG/usr install
+make PREFIX=$PKG/usr DATADIR=$PKG/usr MANDIR=$PKG/usr/man install
+rm -rf $PKG/usr/doc # nothing useful
find $PKG -print0 | xargs -0 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/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild