wok-6.x annotate libdaq/receipt @ 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 559523a75356
children f1c5c0316d08
rev   line source
slaxemulator@7077 1 # SliTaz package receipt.
slaxemulator@7077 2
slaxemulator@7077 3 PACKAGE="libdaq"
slaxemulator@7747 4 VERSION="0.5"
slaxemulator@7077 5 CATEGORY="network"
slaxemulator@7077 6 SHORT_DESC="Data Acquisition library for packet I/O."
slaxemulator@7077 7 MAINTAINER="slaxemulator@gmail.com"
slaxemulator@7077 8 DEPENDS="libpcap"
gokhlayeh@8557 9 BUILD_DEPENDS="libpcap-dev flex bison wget"
slaxemulator@7077 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@7077 11 WEB_SITE="http://www.snort.org/"
gokhlayeh@8557 12 WGET_URL="http://www.snort.org/downloads/630"
slaxemulator@7077 13
slaxemulator@7077 14 # Rules to configure and make the package.
slaxemulator@7077 15 compile_rules()
slaxemulator@7077 16 {
slaxemulator@7077 17 cd $src
slaxemulator@7077 18 ./configure \
slaxemulator@7077 19 --prefix=/usr \
slaxemulator@7077 20 --infodir=/usr/share/info \
slaxemulator@7077 21 --mandir=/usr/share/man \
slaxemulator@7077 22 $CONFIGURE_ARGS &&
slaxemulator@7077 23 make && make DESTDIR=$PWD/_pkg install
slaxemulator@7077 24 }
slaxemulator@7077 25
slaxemulator@7077 26 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7077 27 genpkg_rules()
slaxemulator@7077 28 {
slaxemulator@7077 29 mkdir -p $fs/usr/lib
slaxemulator@7077 30 cp -a $_pkg/usr/lib/daq $fs/usr/lib
slaxemulator@7077 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
slaxemulator@7077 32 }
slaxemulator@7077 33