wok view libdaq/receipt @ rev 25803
Up libgit2 (1.8.4), libsde-utils (0.1.0-r1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 12 15:28:00 2024 +0000 (5 weeks ago) |
parents | 08392a9d42ea |
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 '/tag\//!d;s|.*tag/v*||;s|".*||;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 }