wok-6.x view libdaq/receipt @ rev 10979

jed: Compile with -j1 cause it can't compile on quad core cpu without this.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Oct 12 12:56:28 2011 +0000 (2011-10-12)
parents f1c5c0316d08
children cbb550460ee1
line source
1 # SliTaz package receipt.
3 PACKAGE="libdaq"
4 VERSION="0.6.2"
5 CATEGORY="network"
6 SHORT_DESC="Data Acquisition library for packet I/O."
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="libpcap"
9 BUILD_DEPENDS="libpcap-dev flex bison wget"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.snort.org/"
12 WGET_URL="http://www.snort.org/downloads/1170"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 $CONFIGURE_ARGS &&
20 make -j1 && make -j1 DESTDIR=$DESTDIR install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib/daq
27 cp -a $_pkg/usr/lib/daq/*.so* $fs/usr/lib/daq
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
29 }