wok-current view libdaq/receipt @ rev 25187
mencoder: reordered recipe
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jul 12 10:44:40 2022 +0100 (2022-07-12) |
parents | a4f828dcc860 |
children | 08392a9d42ea |
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://www.snort.org/downloads/archive/snort/$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 }