wok-current annotate libpcap/receipt @ rev 550
Up: osmo (0.2.0)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 12 20:17:59 2008 +0200 (2008-04-12) |
parents | 7ed87c4c202a |
children | 3e397378bee1 |
rev | line source |
---|---|
pankso@117 | 1 # SliTaz package receipt. |
pankso@117 | 2 |
pankso@117 | 3 PACKAGE="libpcap" |
pankso@117 | 4 VERSION="0.9.8" |
pankso@200 | 5 CATEGORY="development" |
pankso@117 | 6 SHORT_DESC="library for tcpdump" |
pankso@117 | 7 MAINTAINER="Serge Daigle <sdaigl@lacitec.on.ca>" |
pankso@117 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@117 | 9 WEB_SITE="www.tcpdump.org" |
pankso@117 | 10 WGET_URL="http://www.tcpdump.org/release/$TARBALL"; |
pankso@117 | 11 |
pankso@117 | 12 # Rules to configure and make the package. |
pankso@117 | 13 compile_rules() |
pankso@117 | 14 { |
pankso@117 | 15 cd $src |
pankso@117 | 16 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pankso@117 | 17 --mandir=/usr/share/man $CONFIGURE_ARGS |
pankso@117 | 18 make |
pankso@117 | 19 make DESTDIR=$PWD/_pkg install |
pankso@117 | 20 } |
pankso@117 | 21 |
pankso@117 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@117 | 23 genpkg_rules() |
pankso@117 | 24 { |
pankso@117 | 25 mkdir -p $fs/usr |
pankso@117 | 26 cp -a $_pkg/usr/include $fs/usr |
pankso@117 | 27 cp -a $_pkg/usr/lib $fs/usr |
pankso@117 | 28 #strip -s $fs/usr/lib/* |
pankso@117 | 29 } |
pankso@117 | 30 |