wok view libhtp/receipt @ rev 25801
created recipe for xfce4-calculator-plugin
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 02 14:21:07 2024 +0100 (2 weeks ago) |
parents | 77f76ba66e45 |
children |
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 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./autogen.sh &&
27 ./configure $CONFIGURE_ARGS &&
28 make &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cook_copy_files *.so*
36 }