wok-4.x annotate libpcap/receipt @ rev 7167
Added libpcap-dev to wok. This reduced size in libpcap package.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Nov 07 18:40:06 2010 +0000 (2010-11-07) |
parents | 61d81e53741f |
children | cd706c3e5079 |
rev | line source |
---|---|
pankso@117 | 1 # SliTaz package receipt. |
pankso@117 | 2 |
pankso@117 | 3 PACKAGE="libpcap" |
slaxemulator@7076 | 4 VERSION="1.1.1" |
pankso@200 | 5 CATEGORY="development" |
pankso@117 | 6 SHORT_DESC="library for tcpdump" |
pascal@1065 | 7 MAINTAINER="sdaigl@lacitec.on.ca" |
slaxemulator@7076 | 8 BUILD_DEPENDS="flex bison" |
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 |
pankso@117 | 13 # Rules to configure and make the package. |
pankso@117 | 14 compile_rules() |
pankso@117 | 15 { |
pankso@117 | 16 cd $src |
pankso@117 | 17 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1443 | 18 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1443 | 19 make && |
pankso@117 | 20 make DESTDIR=$PWD/_pkg install |
pankso@117 | 21 } |
pankso@117 | 22 |
pankso@117 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@117 | 24 genpkg_rules() |
pankso@117 | 25 { |
slaxemulator@7167 | 26 mkdir -p $fs/usr |
slaxemulator@7167 | 27 cp -a $_pkg/usr/lib/*.so* $fs/usr |
slaxemulator@7167 | 28 #strip -s $fs/usr/lib/* |
pankso@117 | 29 } |
pankso@117 | 30 |