wok view libhtp/receipt @ rev 25335

updated libhtp and libhtp-dev (0.5.39 -> 0.5.40)
author Hans-G?nter Theisgen
date Sat Jul 23 17:39:36 2022 +0100 (21 months ago)
parents 5d7e045e355b
children 7364ffdaaa60
line source
1 # SliTaz package receipt.
3 PACKAGE="libhtp"
4 VERSION="0.5.40"
5 CATEGORY="system-tools"
6 SHORT_DESC="Security-aware parser for the HTTP protocol."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/OISF/libhtp"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
14 BUILD_DEPENDS="automake libtool"
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./autogen.sh &&
26 ./configure $CONFIGURE_ARGS &&
27 make &&
28 make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cook_copy_files *.so*
35 }