wok-6.x diff libdaq/receipt @ rev 23909
Up tazinst (1021)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 08 17:52:43 2020 +0000 (2020-08-08) |
parents | a78610b2eb47 |
children | 83b97236db32 |
line diff
1.1 --- a/libdaq/receipt Mon Jan 21 12:26:11 2019 +0100 1.2 +++ b/libdaq/receipt Sat Aug 08 17:52:43 2020 +0000 1.3 @@ -1,32 +1,34 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="libdaq" 1.7 -VERSION="0.6.2" 1.8 +VERSION="2.0.6" 1.9 CATEGORY="network" 1.10 SHORT_DESC="Data Acquisition library for packet I/O." 1.11 MAINTAINER="slaxemulator@gmail.com" 1.12 LICENSE="GPL2" 1.13 -TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 WEB_SITE="https://www.snort.org/" 1.15 -WGET_URL="https://www.snort.org/downloads/1221" 1.16 + 1.17 +SOURCE="daq" 1.18 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.19 +WGET_URL="${WEB_SITE}downloads/snort/$TARBALL" 1.20 1.21 DEPENDS="libpcap" 1.22 -BUILD_DEPENDS="libpcap-dev flex bison wget" 1.23 +BUILD_DEPENDS="automake bison flex libpcap-dev" 1.24 1.25 # Rules to configure and make the package. 1.26 compile_rules() 1.27 { 1.28 - cd $src 1.29 - ./configure \ 1.30 - $CONFIGURE_ARGS && 1.31 - make -j1 && make -j1 DESTDIR=$DESTDIR install 1.32 + autoconf && 1.33 + ./configure $CONFIGURE_ARGS && 1.34 + make -j1 && 1.35 + make -j1 DESTDIR=$DESTDIR install 1.36 } 1.37 1.38 # Rules to gen a SliTaz package suitable for Tazpkg. 1.39 genpkg_rules() 1.40 { 1.41 mkdir -p $fs/usr/lib/daq 1.42 - cp -a $install/usr/lib/daq/*.so* $fs/usr/lib/daq 1.43 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.44 + 1.45 + cp -a $install/usr/lib/daq/*.so* $fs/usr/lib/daq 1.46 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.47 } 1.48 -