wok view libdaq/receipt @ rev 12819

attr: cross-compile for ARM
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 21 23:25:00 2012 +0200 (2012-05-21)
parents 5b985a3d5093
children 6c3718ca17b6
line source
1 # SliTaz package receipt.
3 PACKAGE="libdaq"
4 VERSION="0.6.2"
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 wget"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.snort.org/"
12 WGET_URL="http://www.snort.org/downloads/1221"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 $CONFIGURE_ARGS &&
20 make -j1 && make -j1 DESTDIR=$DESTDIR install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib/daq
27 cp -a $_pkg/usr/lib/daq/*.so* $fs/usr/lib/daq
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
29 }