wok annotate libdaq/receipt @ rev 9405
Up: slitaz-boot-scripts (4.2) - We all want a new cooking...
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Mar 28 17:16:23 2011 +0200 (2011-03-28) |
parents | e6a5f8e3a906 |
children | 5b985a3d5093 |
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 { |
gokhlayeh@8586 | 29 mkdir -p $fs/usr/lib/daq |
gokhlayeh@8586 | 30 cp -a $_pkg/usr/lib/daq/*.so* $fs/usr/lib/daq |
slaxemulator@7077 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
slaxemulator@7077 | 32 } |
slaxemulator@7077 | 33 |