wok annotate libdaq/receipt @ rev 14583

drbl: fix TARBALL
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 26 17:50:47 2013 +0200 (2013-05-26)
parents 5b985a3d5093
children 6c3718ca17b6
rev   line source
slaxemulator@7077 1 # SliTaz package receipt.
slaxemulator@7077 2
slaxemulator@7077 3 PACKAGE="libdaq"
slaxemulator@10976 4 VERSION="0.6.2"
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/"
slaxemulator@11328 12 WGET_URL="http://www.snort.org/downloads/1221"
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 $CONFIGURE_ARGS &&
slaxemulator@10976 20 make -j1 && make -j1 DESTDIR=$DESTDIR install
slaxemulator@7077 21 }
slaxemulator@7077 22
slaxemulator@7077 23 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7077 24 genpkg_rules()
slaxemulator@7077 25 {
gokhlayeh@8586 26 mkdir -p $fs/usr/lib/daq
gokhlayeh@8586 27 cp -a $_pkg/usr/lib/daq/*.so* $fs/usr/lib/daq
slaxemulator@7077 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
slaxemulator@7077 29 }
slaxemulator@7077 30