wok view libnetfilter_conntrack/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago) |
parents | ad8b9ff412d2 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libnetfilter_conntrack"
4 VERSION="1.0.9"
5 CATEGORY="network"
6 SHORT_DESC="Library providing an API to the in-kernel connection tracking state table."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.netfilter.org/projects/libnetfilter_conntrack/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://www.netfilter.org/projects/$PACKAGE/files/$TARBALL"
14 DEPENDS="libmnl libnfnetlink"
15 BUILD_DEPENDS="libmnl-dev libnfnetlink-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://www.netfilter.org/pub/libnetfilter_conntrack/ 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 $CONFIGURE_ARGS &&
30 make &&
31 make install DESTDIR=$DESTDIR
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cook_copy_files *.so*
38 }