wok view libdaq/receipt @ rev 8586

Fix: remove src definition from libdaq-dev & rework files repartition between libdaq/libdaq-dev
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Feb 14 03:36:07 2011 +0100 (2011-02-14)
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 }