wok-4.x view libdaq/receipt @ rev 9336

lingot: update BUILD_DEPENDS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 18 16:23:10 2011 +0100 (2011-03-18)
parents e6a5f8e3a906
children 5b985a3d5093
line source
1 # SliTaz package receipt.
3 PACKAGE="libdaq"
4 VERSION="0.5"
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/630"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make && make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib/daq
30 cp -a $_pkg/usr/lib/daq/*.so* $fs/usr/lib/daq
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 }