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

Add flex to autofs build depends.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Feb 05 18:06:36 2011 +0000 (2011-02-05)
parents c38a5ce38343
children e5ae411e1d8c
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 #strip -s $fs/usr/lib/*
30 }