wok-6.x view libpcap/receipt @ rev 7163
linmodem-hsfmodem: do not assume build host kernel is up to date
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Nov 07 16:40:05 2010 +0100 (2010-11-07) |
parents | aa0dad286215 |
children | 61d81e53741f |
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 BUILD_DEPENDS="flex bison"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://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 }