wok-4.x rev 8557
imported patch get/libdaq
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Feb 13 22:57:56 2011 +0100 (2011-02-13) |
parents | bc238c62a0b3 |
children | d158f6149add |
files | libdaq/receipt |
line diff
1.1 --- a/libdaq/receipt Sun Feb 13 22:57:56 2011 +0100 1.2 +++ b/libdaq/receipt Sun Feb 13 22:57:56 2011 +0100 1.3 @@ -6,23 +6,14 @@ 1.4 SHORT_DESC="Data Acquisition library for packet I/O." 1.5 MAINTAINER="slaxemulator@gmail.com" 1.6 DEPENDS="libpcap" 1.7 -BUILD_DEPENDS="libpcap-dev flex bison" 1.8 +BUILD_DEPENDS="libpcap-dev flex bison wget" 1.9 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.10 WEB_SITE="http://www.snort.org/" 1.11 -WGET="http://www.snort.org/downloads/630" 1.12 +WGET_URL="http://www.snort.org/downloads/630" 1.13 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 { 1.17 - src=$WOK/$PACKAGE/daq-$VERSION 1.18 - # this is needed even if tazwok support https 1.19 - if [ -f $SOURCES_REPOSITORY/$TARBALL ]; then 1.20 - tar xzf $SOURCES_REPOSITORY/$TARBALL 1.21 - else 1.22 - [ -L /usr/bin/wget ] && tazpkg get-install wget --forced 1.23 - wget -O $SOURCES_REPOSITORY/$TARBALL --no-check-certificate "$WGET" 1.24 - tar xzf $SOURCES_REPOSITORY/$TARBALL 1.25 - fi 1.26 cd $src 1.27 ./configure \ 1.28 --prefix=/usr \ 1.29 @@ -35,7 +26,6 @@ 1.30 # Rules to gen a SliTaz package suitable for Tazpkg. 1.31 genpkg_rules() 1.32 { 1.33 - _pkg=$WOK/$PACKAGE/daq-$VERSION/_pkg 1.34 mkdir -p $fs/usr/lib 1.35 cp -a $_pkg/usr/lib/daq $fs/usr/lib 1.36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib