wok-next annotate libdaq/receipt @ rev 13751

clamtk: fix genpkg_rules (thanks ernia)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 02 14:23:17 2013 +0100 (2013-01-02)
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