wok-current view libnfnetlink/receipt @ rev 24470
updated dbus, dbus-dev and dbus-helper (1.12.18 -> 1.12.20)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 17 14:54:20 2022 +0100 (2022-02-17) |
parents | 93d83d6b247d |
children | cb67b4f8be05 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libnfnetlink"
4 VERSION="1.0.1"
5 CATEGORY="network"
6 SHORT_DESC="Low-level library for netfilter related kernel/userspace communication."
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 # What is the latest version available today?
14 current_version()
15 {
16 wget -O - ${WGET_URL%/*} 2>/dev/null | \
17 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
18 }
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./configure --prefix=/usr $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 }