wok-current annotate libhtp/receipt @ rev 25546
memtest: update menu label
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 19 18:51:26 2023 +0000 (20 months ago) |
parents | 5d7e045e355b |
children |
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 } |