wok annotate libhtp/receipt @ rev 25812
ntfs-3g: enable posix acls
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 25 10:33:44 2025 +0000 (6 days ago) |
parents | 77f76ba66e45 |
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@25600 | 16 # What is the latest version available today? |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24055 | 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@25600 | 20 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
erjo@11447 | 23 # Rules to configure and make the package. |
erjo@11447 | 24 compile_rules() |
erjo@11447 | 25 { |
Hans-G?nter@21233 | 26 ./autogen.sh && |
Hans-G?nter@21232 | 27 ./configure $CONFIGURE_ARGS && |
pascal@21235 | 28 make && |
Hans-G?nter@21232 | 29 make install |
erjo@11447 | 30 } |
erjo@11447 | 31 |
erjo@11447 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@11447 | 33 genpkg_rules() |
erjo@11447 | 34 { |
Hans-G?nter@24797 | 35 cook_copy_files *.so* |
erjo@11447 | 36 } |