wok-6.x view libpcap/receipt @ rev 12711

cross-arm-glibc: improve receipt, dont have add-ons and --disable-sanity-checks for now
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 04 16:09:03 2012 +0200 (2012-05-04)
parents 811dd79a8ec5
children eda93f9881c4
line source
1 # SliTaz package receipt.
3 PACKAGE="libpcap"
4 VERSION="1.1.1"
5 CATEGORY="development"
6 SHORT_DESC="library for tcpdump"
7 MAINTAINER="sdaigl@lacitec.on.ca"
8 DEPENDS="libnl"
9 BUILD_DEPENDS="flex bison"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.tcpdump.org/"
12 WGET_URL="http://www.tcpdump.org/release/$TARBALL";
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
29 }