system/makepasswd: Updated for version 0.5.3.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Pablo Santamaria 2014-02-09 09:01:12 +07:00 committed by Erik Hanson
parent 1be35e49fd
commit a3c7c827d7
2 changed files with 10 additions and 6 deletions

View file

@ -5,7 +5,7 @@
# Written by Pablo Santamaria (pablosantamaria@gmail.com) # Written by Pablo Santamaria (pablosantamaria@gmail.com)
PRGNAM=makepasswd PRGNAM=makepasswd
VERSION=${VERSION:-0.5.0} VERSION=${VERSION:-0.5.3}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -52,11 +52,15 @@ find -L . \
-exec chmod 644 {} \; -exec chmod 644 {} \;
make CFLAGS="$SLKCFLAGS" 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" | \ 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 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View file

@ -1,8 +1,8 @@
PRGNAM="makepasswd" PRGNAM="makepasswd"
VERSION="0.5.0" VERSION="0.5.3"
HOMEPAGE="http://defora.org/os/category/3499/makepasswd" HOMEPAGE="http://defora.org/os/download/641"
DOWNLOAD="http://defora.org/os/download/download/3500/makepasswd-0.5.0.tar.gz" DOWNLOAD="http://defora.org/os/download/download/4323/makepasswd-0.5.3.tar.gz"
MD5SUM="539837def561227e4b5ec286ee33b41c" MD5SUM="f9303ba52592555a45b11e35779ca11f"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""