wok-6.x view httping/receipt @ rev 25377
updated udpxy (1.0.24.1 -> 1.0.25.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jul 30 11:20:37 2022 +0100 (2022-07-30) |
parents | af8d823a3077 |
children | 73f36875e5a7 |
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="https://critical.ch/distfiles/$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 }