wok-next annotate libpcap/receipt @ rev 15666
Add ddumbfs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 13 16:18:29 2013 +0000 (2013-12-13) |
parents | e5ae411e1d8c |
children | e4cda1000ec7 |
rev | line source |
---|---|
pankso@117 | 1 # SliTaz package receipt. |
pankso@117 | 2 |
pankso@117 | 3 PACKAGE="libpcap" |
pascal@15323 | 4 VERSION="1.4.0" |
pankso@200 | 5 CATEGORY="development" |
pankso@117 | 6 SHORT_DESC="library for tcpdump" |
pascal@1065 | 7 MAINTAINER="sdaigl@lacitec.on.ca" |
pascal@15323 | 8 LICENSE="BSD" |
pankso@117 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@2086 | 10 WEB_SITE="http://www.tcpdump.org/" |
pankso@117 | 11 WGET_URL="http://www.tcpdump.org/release/$TARBALL"; |
pankso@117 | 12 |
pascal@15323 | 13 DEPENDS="libnl" |
pascal@15323 | 14 BUILD_DEPENDS="flex bison" |
pascal@15323 | 15 |
pankso@117 | 16 # Rules to configure and make the package. |
pankso@117 | 17 compile_rules() |
pankso@117 | 18 { |
pankso@117 | 19 cd $src |
pankso@117 | 20 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1443 | 21 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1443 | 22 make && |
pascal@15323 | 23 make DESTDIR=$DESTDIR install |
pankso@117 | 24 } |
pankso@117 | 25 |
pankso@117 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@117 | 27 genpkg_rules() |
pankso@117 | 28 { |
slaxemulator@7170 | 29 mkdir -p $fs/usr/lib |
pascal@15323 | 30 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@117 | 31 } |
pankso@117 | 32 |