# HG changeset patch # User Antoine Bodin # Date 1297634276 -3600 # Node ID e6a5f8e3a9064109b0abcdeff0fc377163b2f487 # Parent bc238c62a0b31fb00e28ce38c2bcd87ce30273b8 imported patch get/libdaq diff -r bc238c62a0b3 -r e6a5f8e3a906 libdaq/receipt --- a/libdaq/receipt Sun Feb 13 22:57:56 2011 +0100 +++ b/libdaq/receipt Sun Feb 13 22:57:56 2011 +0100 @@ -6,23 +6,14 @@ SHORT_DESC="Data Acquisition library for packet I/O." MAINTAINER="slaxemulator@gmail.com" DEPENDS="libpcap" -BUILD_DEPENDS="libpcap-dev flex bison" +BUILD_DEPENDS="libpcap-dev flex bison wget" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.snort.org/" -WGET="http://www.snort.org/downloads/630" +WGET_URL="http://www.snort.org/downloads/630" # Rules to configure and make the package. compile_rules() { - src=$WOK/$PACKAGE/daq-$VERSION - # this is needed even if tazwok support https - if [ -f $SOURCES_REPOSITORY/$TARBALL ]; then - tar xzf $SOURCES_REPOSITORY/$TARBALL - else - [ -L /usr/bin/wget ] && tazpkg get-install wget --forced - wget -O $SOURCES_REPOSITORY/$TARBALL --no-check-certificate "$WGET" - tar xzf $SOURCES_REPOSITORY/$TARBALL - fi cd $src ./configure \ --prefix=/usr \ @@ -35,7 +26,6 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - _pkg=$WOK/$PACKAGE/daq-$VERSION/_pkg mkdir -p $fs/usr/lib cp -a $_pkg/usr/lib/daq $fs/usr/lib cp -a $_pkg/usr/lib/*.so* $fs/usr/lib