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