wok view libdaq/receipt @ rev 7730

Added libart_lgpl-dev to libgnomecanvas-dev depends.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Dec 19 19:55:53 2010 +0000 (2010-12-19)
parents 209f2ed52094
children 559523a75356
line source
1 # SliTaz package receipt.
3 PACKAGE="libdaq"
4 VERSION="0.4"
5 CATEGORY="network"
6 SHORT_DESC="Data Acquisition library for packet I/O."
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="libpcap"
9 BUILD_DEPENDS="libpcap-dev flex bison"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.snort.org/"
12 WGET="http://www.snort.org/downloads/579"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 src=$WOK/$PACKAGE/daq-$VERSION
18 # this is needed even if tazwok support https
19 if [ -f $SOURCES_REPOSITORY/$TARBALL ]; then
20 tar xzf $SOURCES_REPOSITORY/$TARBALL
21 else
22 [ -L /usr/bin/wget ] && tazpkg get-install wget --forced
23 wget -O $SOURCES_REPOSITORY/$TARBALL --no-check-certificate "$WGET"
24 tar xzf $SOURCES_REPOSITORY/$TARBALL
25 fi
26 cd $src
27 ./configure \
28 --prefix=/usr \
29 --infodir=/usr/share/info \
30 --mandir=/usr/share/man \
31 $CONFIGURE_ARGS &&
32 make && make DESTDIR=$PWD/_pkg install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 _pkg=$WOK/$PACKAGE/daq-$VERSION/_pkg
39 mkdir -p $fs/usr/lib
40 cp -a $_pkg/usr/lib/daq $fs/usr/lib
41 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
42 }