# HG changeset patch # User Christophe Lincoln # Date 1199562062 -3600 # Node ID 7ed87c4c202a0847a0999466840b4e435f582797 # Parent 1b129a8fd30960b66308dd075617f28785c499cb Add : libpcap needed to build tcpdump (Serge) diff -r 1b129a8fd309 -r 7ed87c4c202a libpcap/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libpcap/receipt Sat Jan 05 20:41:02 2008 +0100 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="libpcap" +VERSION="0.9.8" +CATEGORY="devel" +SHORT_DESC="library for tcpdump" +MAINTAINER="Serge Daigle " +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="www.tcpdump.org" +WGET_URL="http://www.tcpdump.org/release/$TARBALL"; + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr --infodir=/usr/share/info \ + --mandir=/usr/share/man $CONFIGURE_ARGS + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/include $fs/usr + cp -a $_pkg/usr/lib $fs/usr + #strip -s $fs/usr/lib/* +} + diff -r 1b129a8fd309 -r 7ed87c4c202a tcpdump/receipt --- a/tcpdump/receipt Sat Jan 05 19:05:46 2008 +0100 +++ b/tcpdump/receipt Sat Jan 05 20:41:02 2008 +0100 @@ -5,6 +5,7 @@ CATEGORY="security" SHORT_DESC="cli wire sniffer" DEPENDS="openssl" +BUILD_DEPENDS="libpcap" MAINTAINER="Serge Daigle " TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="www.tcpdump.org"