wok-current view libpcap/receipt @ rev 1815
Up: gparted to 0.4.1, fix BUILD_DEPENDS and disable doc build.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri Dec 05 15:04:32 2008 +0100 (2008-12-05) |
parents | 3e397378bee1 |
children | aa0dad286215 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libpcap"
4 VERSION="0.9.8"
5 CATEGORY="development"
6 SHORT_DESC="library for tcpdump"
7 MAINTAINER="sdaigl@lacitec.on.ca"
8 BUILD_DEPENDS="flex"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="www.tcpdump.org"
11 WGET_URL="http://www.tcpdump.org/release/$TARBALL";
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --infodir=/usr/share/info \
18 --mandir=/usr/share/man $CONFIGURE_ARGS &&
19 make &&
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/usr/include $fs/usr
28 cp -a $_pkg/usr/lib $fs/usr
29 #strip -s $fs/usr/lib/*
30 }