wok view libdaq/receipt @ rev 25442

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 02 16:30:36 2022 +0000 (2022-09-02)
parents 22471cbea549
children 7364ffdaaa60
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 }