wok-6.x annotate httping/receipt @ rev 17688
Add httping
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Feb 22 15:09:28 2015 +0000 (2015-02-22) |
parents | |
children | 3f0aaa5875d3 |
rev | line source |
---|---|
paul@17688 | 1 # SliTaz package receipt. |
paul@17688 | 2 |
paul@17688 | 3 PACKAGE="httping" |
paul@17688 | 4 VERSION="2.4" |
paul@17688 | 5 CATEGORY="network" |
paul@17688 | 6 SHORT_DESC="Httping is like 'ping' but for http-requests." |
paul@17688 | 7 MAINTAINER="paul@slitaz.org" |
paul@17688 | 8 LICENSE="GPL2" |
paul@17688 | 9 WEB_SITE="http://www.vanheusden.com/httping/" |
paul@17688 | 10 TARBALL="$PACKAGE-$VERSION.tgz" |
paul@17688 | 11 WGET_URL="http://www.vanheusden.com/httping/$TARBALL" |
paul@17688 | 12 |
paul@17688 | 13 DEPENDS="ncurses fftw openssl" |
paul@17688 | 14 BUILD_DEPENDS="ncurses-dev fftw-dev gettext openssl-dev" |
paul@17688 | 15 |
paul@17688 | 16 # Rules to configure and make the package. |
paul@17688 | 17 compile_rules() |
paul@17688 | 18 { |
paul@17688 | 19 ./configure --prefix=/usr |
paul@17688 | 20 #--with-tfo force enable tcp fast open |
paul@17688 | 21 --with-ncurses force enable ncurses |
paul@17688 | 22 --with-openssl force enable openssl |
paul@17688 | 23 --with-fftw3 force enable fftw3 |
paul@17688 | 24 make |
paul@17688 | 25 make DESTDIR=$DESTDIR install |
paul@17688 | 26 } |
paul@17688 | 27 |
paul@17688 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@17688 | 29 genpkg_rules() |
paul@17688 | 30 { |
paul@17688 | 31 mkdir -p $fs/usr |
paul@17688 | 32 cp -a $install/usr/bin $fs/usr |
paul@17688 | 33 cp -a $install/usr/share/ $fs/usr |
paul@17688 | 34 rm -r $fs/usr/share/man |
paul@17688 | 35 } |
paul@17688 | 36 |