wok annotate libnetfilter_cttimeout/receipt @ rev 17285
Add libnetfilter_cttimeout
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 27 12:18:59 2014 +0100 (2014-10-27) |
parents | |
children | 83b97236db32 |
rev | line source |
---|---|
pascal@17285 | 1 # SliTaz package receipt. |
pascal@17285 | 2 |
pascal@17285 | 3 PACKAGE="libnetfilter_cttimeout" |
pascal@17285 | 4 VERSION="1.0.0" |
pascal@17285 | 5 CATEGORY="network" |
pascal@17285 | 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" |
pascal@17285 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@17285 | 10 WEB_SITE="http://www.netfilter.org/projects/$PACKAGE/" |
pascal@17285 | 11 WGET_URL="${WEB_SITE}files/$TARBALL" |
pascal@17285 | 12 |
pascal@17285 | 13 DEPENDS="libmnl" |
pascal@17285 | 14 BUILD_DEPENDS="pkg-config glib-dev libmnl-dev" |
pascal@17285 | 15 |
pascal@17285 | 16 # Rules to configure and make the package. |
pascal@17285 | 17 compile_rules() |
pascal@17285 | 18 { |
pascal@17285 | 19 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@17285 | 20 make && |
pascal@17285 | 21 make DESTDIR=$DESTDIR install |
pascal@17285 | 22 } |
pascal@17285 | 23 |
pascal@17285 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17285 | 25 genpkg_rules() |
pascal@17285 | 26 { |
pascal@17285 | 27 mkdir -p $fs/usr/lib |
pascal@17285 | 28 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@17285 | 29 } |