wok view httping/receipt @ rev 25717

xfce4-session: remove files belonging to xfce4-session-dev
author Hans-G?nter Theisgen
date Thu Aug 15 09:23:33 2024 +0100 (3 months ago)
parents 73f36875e5a7
children
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 - $WEB_SITE 2>/dev/null | \
20 sed '/httping-/!d;s|.*httping-||;s|.t.*||;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 }