wok-next annotate libnetfilter_cttimeout/receipt @ rev 20010
Up rsnapshot (1.4.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 21 18:08:51 2017 +0200 (2017-10-21) |
parents | 8ceab72d5816 |
children | 5841522533ec |
rev | line source |
---|---|
al@19957 | 1 # SliTaz package receipt v2. |
pascal@17285 | 2 |
pascal@17285 | 3 PACKAGE="libnetfilter_cttimeout" |
pascal@17285 | 4 VERSION="1.0.0" |
pascal@17285 | 5 CATEGORY="network" |
al@19957 | 6 SHORT_DESC="API to the fine-grain connection tracking timeout infrastructure" |
pascal@17285 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17285 | 8 LICENSE="GPL2" |
al@19957 | 9 WEB_SITE="http://www.netfilter.org/projects/libnetfilter_cttimeout/" |
al@19957 | 10 |
pascal@17285 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@19957 | 12 WGET_URL="http://www.netfilter.org/projects/libnetfilter_cttimeout/files/$TARBALL" |
pascal@17285 | 13 |
al@19957 | 14 BUILD_DEPENDS="libmnl-dev" |
al@19957 | 15 SPLIT="libnetfilter_cttimeout-dev" |
pascal@17285 | 16 |
al@19957 | 17 compile_rules() { |
al@19957 | 18 ./configure $CONFIGURE_ARGS && make && make install |
pascal@17285 | 19 } |
pascal@17285 | 20 |
al@19957 | 21 genpkg_rules() { |
al@19957 | 22 case $PACKAGE in |
al@19957 | 23 libnetfilter_cttimeout) |
al@19957 | 24 copy @std |
al@19957 | 25 DEPENDS="libmnl" |
al@19957 | 26 ;; |
al@19957 | 27 *-dev) |
al@19957 | 28 copy @dev |
al@19957 | 29 DEPENDS="libnetfilter_cttimeout libmnl-dev" |
al@19957 | 30 ;; |
al@19957 | 31 esac |
pascal@17285 | 32 } |