wok annotate httping/receipt @ rev 18658
Up slitaz-base-files(289)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 03 05:01:20 2015 +0200 (2015-12-03) |
parents | 3f0aaa5875d3 |
children | 6ba33cccff9d |
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 #--with-tfo force enable tcp fast open |
pascal@17690 | 20 ./configure \ |
pascal@17689 | 21 --with-ncurses \ |
pascal@17689 | 22 --with-openssl \ |
pascal@17690 | 23 --with-fftw3 && |
pascal@17689 | 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 } |