wok annotate libhtp/receipt @ rev 24095

Add jpegoptim
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 01 14:04:21 2021 +0000 (2021-09-01)
parents acb084b6e42c
children 5d7e045e355b
rev   line source
erjo@11447 1 # SliTaz package receipt.
erjo@11447 2
erjo@11447 3 PACKAGE="libhtp"
Hans-G?nter@23073 4 VERSION="0.5.32"
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"
erjo@11447 9 WEB_SITE="http://www.openinfosecfoundation.org"
Hans-G?nter@21232 10
erjo@11447 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21232 12 WGET_URL="https://github.com/OISF/$PACKAGE/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 {
erjo@11447 34 mkdir -p $fs/usr/lib
Hans-G?nter@23073 35 cp -a $install/usr/lib/*.so* $fs/usr/lib
erjo@11447 36 }