wok-next annotate libpcap/receipt @ rev 10631

up: rssyl* (0.30)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu May 26 23:07:45 2011 +0200 (2011-05-26)
parents 811dd79a8ec5
children eda93f9881c4
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@7185 8 DEPENDS="libnl"
slaxemulator@7076 9 BUILD_DEPENDS="flex bison"
pankso@117 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@2086 11 WEB_SITE="http://www.tcpdump.org/"
pankso@117 12 WGET_URL="http://www.tcpdump.org/release/$TARBALL";
pankso@117 13
pankso@117 14 # Rules to configure and make the package.
pankso@117 15 compile_rules()
pankso@117 16 {
pankso@117 17 cd $src
pankso@117 18 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@1443 19 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@1443 20 make &&
pankso@117 21 make DESTDIR=$PWD/_pkg install
pankso@117 22 }
pankso@117 23
pankso@117 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@117 25 genpkg_rules()
pankso@117 26 {
slaxemulator@7170 27 mkdir -p $fs/usr/lib
slaxemulator@7169 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@117 29 }
pankso@117 30