wok-next annotate 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 |
rev | line source |
---|---|
al@19745 | 1 # SliTaz package receipt v2. |
al@19745 | 2 |
al@19745 | 3 PACKAGE="libnftnl" |
al@19745 | 4 VERSION="1.0.7" |
al@19745 | 5 CATEGORY="development" |
al@19745 | 6 SHORT_DESC="Low-level netlink API" |
al@19745 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@19745 | 8 LICENSE="LGPL2.1" |
al@19745 | 9 WEB_SITE="http://www.iptables.org/projects/libnftnl/" |
al@19745 | 10 |
al@19745 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@19745 | 12 WGET_URL="${WEB_SITE}files/$TARBALL" |
al@19745 | 13 TARBALL_SHA1="381b2b3cbb3fad186cb3f57bbf32d70f0b3c3c8e" |
al@19745 | 14 |
al@19745 | 15 BUILD_DEPENDS="libmnl-dev" |
al@19745 | 16 SPLIT="libnftnl-dev" |
al@19745 | 17 |
al@20443 | 18 compile_rules() { |
al@20595 | 19 ./configure $CONFIGURE_ARGS && |
al@20595 | 20 fix libtool && |
al@20595 | 21 make && |
al@20595 | 22 make install |
al@19745 | 23 } |
al@19745 | 24 |
al@20443 | 25 genpkg_rules() { |
al@19745 | 26 case $PACKAGE in |
al@19745 | 27 libnftnl) |
al@19745 | 28 copy @std |
al@19745 | 29 DEPENDS="libmnl" |
al@19745 | 30 ;; |
al@19745 | 31 *-dev) |
al@19745 | 32 copy @dev |
al@19745 | 33 DEPENDS="libnftnl libmnl-dev" |
al@19745 | 34 ;; |
al@19745 | 35 esac |
al@19745 | 36 } |