network/httping: Updated for version 2.4.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2016-06-04 13:36:27 +07:00
parent 9c22ea1954
commit 9d5148307a
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 8 additions and 9 deletions

View file

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
# Slackware build script for HTTPing # Slackware build script for httping
# Copyright 2010, Steven King <kingrst@gmail.com> # Copyright 2010, Steven King <kingrst@gmail.com>
# All rights reserved. # All rights reserved.
@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=httping PRGNAM=httping
VERSION=${VERSION:-2.3.3} VERSION=${VERSION:-2.4}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -74,17 +74,16 @@ make \
MANDIR=/usr/man \ MANDIR=/usr/man \
DOCDIR=/usr/doc/$PRGNAM-$VERSION DOCDIR=/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKG/usr/share/locale/nl/LC_MESSAGES
make install \ make install \
MANDIR=/usr/man \ MANDIR=/usr/man \
DOCDIR=/usr/doc/$PRGNAM-$VERSION \ DOCDIR=/usr/doc/$PRGNAM-$VERSION \
DESTDIR=$PKG 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 | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \; 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 cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View file

@ -1,8 +1,8 @@
PRGNAM="httping" PRGNAM="httping"
VERSION="2.3.3" VERSION="2.4"
HOMEPAGE="http://www.vanheusden.com/httping/" HOMEPAGE="http://www.vanheusden.com/httping/"
DOWNLOAD="http://www.vanheusden.com/httping/httping-2.3.3.tgz" DOWNLOAD="http://www.vanheusden.com/httping/httping-2.4.tgz"
MD5SUM="a4ed1ab05a1cc9fc473ade53c1e5927b" MD5SUM="3b4d003276c1346c32629b65262dfd1e"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""