wok-6.x annotate libdaq/receipt @ rev 10976
Up: libdaq to 0.6.2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Oct 12 12:49:39 2011 +0000 (2011-10-12) |
parents | f1c5c0316d08 |
children | cbb550460ee1 |
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@10976 | 12 WGET_URL="http://www.snort.org/downloads/1170" |
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 |