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

slitaz-boot-script: post installl comd to change hacker id/group to 1000
author Christophe Lincoln <pankso@slitaz.org>
date Tue Jun 10 16:54:11 2008 +0200 (2008-06-10)
parents 7ed87c4c202a
children 3e397378bee1
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="Serge Daigle <sdaigl@lacitec.on.ca>"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="www.tcpdump.org"
10 WGET_URL="http://www.tcpdump.org/release/$TARBALL";
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure --prefix=/usr --infodir=/usr/share/info \
17 --mandir=/usr/share/man $CONFIGURE_ARGS
18 make
19 make DESTDIR=$PWD/_pkg install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr
26 cp -a $_pkg/usr/include $fs/usr
27 cp -a $_pkg/usr/lib $fs/usr
28 #strip -s $fs/usr/lib/*
29 }