wok-next rev 17688
Add httping
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Feb 22 15:09:28 2015 +0000 (2015-02-22) |
parents | 70b446c3592a |
children | 3f0aaa5875d3 |
files | httping/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/httping/receipt Sun Feb 22 15:09:28 2015 +0000 1.3 @@ -0,0 +1,36 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="httping" 1.7 +VERSION="2.4" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Httping is like 'ping' but for http-requests." 1.10 +MAINTAINER="paul@slitaz.org" 1.11 +LICENSE="GPL2" 1.12 +WEB_SITE="http://www.vanheusden.com/httping/" 1.13 +TARBALL="$PACKAGE-$VERSION.tgz" 1.14 +WGET_URL="http://www.vanheusden.com/httping/$TARBALL" 1.15 + 1.16 +DEPENDS="ncurses fftw openssl" 1.17 +BUILD_DEPENDS="ncurses-dev fftw-dev gettext openssl-dev" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + ./configure --prefix=/usr 1.23 + #--with-tfo force enable tcp fast open 1.24 + --with-ncurses force enable ncurses 1.25 + --with-openssl force enable openssl 1.26 + --with-fftw3 force enable fftw3 1.27 + make 1.28 + make DESTDIR=$DESTDIR install 1.29 +} 1.30 + 1.31 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.32 +genpkg_rules() 1.33 +{ 1.34 + mkdir -p $fs/usr 1.35 + cp -a $install/usr/bin $fs/usr 1.36 + cp -a $install/usr/share/ $fs/usr 1.37 + rm -r $fs/usr/share/man 1.38 +} 1.39 +