diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-06-04 13:36:27 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-06-04 13:36:27 +0700 |
commit | 9d5148307a147de899b6dee919bd058132a1efd5 (patch) | |
tree | f920e0fb03d2cdeba7a07100b440bcfea41bf050 /network/httping/httping.SlackBuild | |
parent | 9c22ea19549914559f83463e6f14aae2c72f0836 (diff) | |
download | slackbuilds-9d5148307a147de899b6dee919bd058132a1efd5.tar.gz |
network/httping: Updated for version 2.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/httping/httping.SlackBuild')
-rw-r--r-- | network/httping/httping.SlackBuild | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/network/httping/httping.SlackBuild b/network/httping/httping.SlackBuild index ea7337856c..8ae0016fd5 100644 --- a/network/httping/httping.SlackBuild +++ b/network/httping/httping.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Slackware build script for HTTPing +# Slackware build script for httping # Copyright 2010, Steven King <kingrst@gmail.com> # All rights reserved. @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=httping -VERSION=${VERSION:-2.3.3} +VERSION=${VERSION:-2.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -67,24 +67,23 @@ find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; make \ OFLAGS="$SLKCFLAGS" \ MANDIR=/usr/man \ DOCDIR=/usr/doc/$PRGNAM-$VERSION -mkdir -p $PKG/usr/share/locale/nl/LC_MESSAGES - make install \ MANDIR=/usr/man \ DOCDIR=/usr/doc/$PRGNAM-$VERSION \ DESTDIR=$PKG -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +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 cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |