wok-current view libdaq/receipt @ rev 25554

Up fakeroot (1.31)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 12 20:31:24 2023 +0000 (20 months ago)
parents 22471cbea549
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libdaq"
4 VERSION="2.0.6"
5 CATEGORY="network"
6 SHORT_DESC="Data Acquisition library for packet I/O."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/snort3/libdaq"
11 SOURCE="daq"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://distfiles.macports.org/daq/$TARBALL"
15 DEPENDS="libpcap"
16 BUILD_DEPENDS="automake bison flex libpcap-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://github.com/snort3/libdaq/releases 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 autoconf &&
29 ./configure $CONFIGURE_ARGS &&
30 make -j1 &&
31 make -j1 DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib/daq
39 cp -a $install/usr/lib/daq/*.so* $fs/usr/lib/daq
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 }