wok view libnetfilter_cthelper/receipt @ rev 24546
updated file, libmagic, libmagic-dev and python-magic (5.38 -> 5.41)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 25 07:20:29 2022 +0100 (2022-02-25) |
parents | 8c9672462053 |
children | cb67b4f8be05 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libnetfilter_cthelper"
4 VERSION="1.0.0"
5 CATEGORY="network"
6 SHORT_DESC="API to the user-space helper infrastructure."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.netfilter.org/projects/$PACKAGE/"
11 WGET_URL="${WEB_SITE}files/$TARBALL"
13 DEPENDS="libmnl"
14 BUILD_DEPENDS="pkg-config glib-dev libmnl-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure --prefix=/usr $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 }