wok-6.x annotate libdaq/receipt @ rev 17584

Fix: elfutils build
author Alexander Medvedev <devl547@gmail.com>
date Sun Feb 08 21:01:57 2015 +0000 (2015-02-08)
parents cbb550460ee1
children a78610b2eb47
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"
pascal@15472 8 LICENSE="GPL2"
slaxemulator@7077 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@7077 10 WEB_SITE="http://www.snort.org/"
slaxemulator@11328 11 WGET_URL="http://www.snort.org/downloads/1221"
slaxemulator@7077 12
pascal@15472 13 DEPENDS="libpcap"
pascal@15472 14 BUILD_DEPENDS="libpcap-dev flex bison wget"
pascal@15472 15
slaxemulator@7077 16 # Rules to configure and make the package.
slaxemulator@7077 17 compile_rules()
slaxemulator@7077 18 {
slaxemulator@7077 19 cd $src
slaxemulator@7077 20 ./configure \
slaxemulator@7077 21 $CONFIGURE_ARGS &&
slaxemulator@10976 22 make -j1 && make -j1 DESTDIR=$DESTDIR install
slaxemulator@7077 23 }
slaxemulator@7077 24
slaxemulator@7077 25 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7077 26 genpkg_rules()
slaxemulator@7077 27 {
gokhlayeh@8586 28 mkdir -p $fs/usr/lib/daq
pascal@15472 29 cp -a $install/usr/lib/daq/*.so* $fs/usr/lib/daq
pascal@15472 30 cp -a $install/usr/lib/*.so* $fs/usr/lib
slaxemulator@7077 31 }
slaxemulator@7077 32