wok view httping/receipt @ rev 25567
use wxWidgets 2.8 for amule
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 12 17:54:34 2023 +0100 (18 months ago) |
parents | 00e3b45c063b |
children | b81ceff0b056 |
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="https://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 }