wok view httping/receipt @ rev 24666

created recipes for double-conversion and double-conversion-dev
author Hans-G?nter Theisgen
date Fri Mar 11 15:40:49 2022 +0100 (2022-03-11)
parents 6ba33cccff9d
children 00e3b45c063b
line source
1 # SliTaz package receipt.
3 PACKAGE="httping"
4 VERSION="2.5"
5 CATEGORY="network"
6 SHORT_DESC="Httping is like 'ping' but for http-requests."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.vanheusden.com/httping/"
10 TARBALL="$PACKAGE-$VERSION.tgz"
11 WGET_URL="http://www.vanheusden.com/httping/$TARBALL"
13 DEPENDS="ncurses fftw openssl"
14 BUILD_DEPENDS="ncurses-dev fftw-dev gettext openssl-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tgz/!d;s|.*$PACKAGE-\\(.*\\).tgz.*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 #--with-tfo force enable tcp fast open
27 ./configure \
28 --with-ncurses \
29 --with-openssl \
30 --with-fftw3 &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/share/ $fs/usr
41 rm -r $fs/usr/share/man
42 }