wok-next view libnftnl/receipt @ rev 20979
Build vifm
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Sep 27 01:38:02 2018 +0300 (2018-09-27) |
parents | 0e7893ac206d |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libnftnl"
4 VERSION="1.0.7"
5 CATEGORY="development"
6 SHORT_DESC="Low-level netlink API"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://www.iptables.org/projects/libnftnl/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="${WEB_SITE}files/$TARBALL"
13 TARBALL_SHA1="381b2b3cbb3fad186cb3f57bbf32d70f0b3c3c8e"
15 BUILD_DEPENDS="libmnl-dev"
16 SPLIT="libnftnl-dev"
18 compile_rules() {
19 ./configure $CONFIGURE_ARGS &&
20 fix libtool &&
21 make &&
22 make install
23 }
25 genpkg_rules() {
26 case $PACKAGE in
27 libnftnl)
28 copy @std
29 DEPENDS="libmnl"
30 ;;
31 *-dev)
32 copy @dev
33 DEPENDS="libnftnl libmnl-dev"
34 ;;
35 esac
36 }