wok-current annotate libdaq/receipt @ rev 24642

updated hfsprescue (3.4 -> 3.5)
author Hans-G?nter Theisgen
date Wed Mar 09 17:03:53 2022 +0100 (2022-03-09)
parents aa20fcddf8bf
children a4f828dcc860
rev   line source
slaxemulator@7077 1 # SliTaz package receipt.
slaxemulator@7077 2
slaxemulator@7077 3 PACKAGE="libdaq"
Hans-G?nter@23020 4 VERSION="2.0.6"
slaxemulator@7077 5 CATEGORY="network"
slaxemulator@7077 6 SHORT_DESC="Data Acquisition library for packet I/O."
slaxemulator@7077 7 MAINTAINER="slaxemulator@gmail.com"
pascal@15472 8 LICENSE="GPL2"
pascal@20669 9 WEB_SITE="https://www.snort.org/"
Hans-G?nter@23020 10
Hans-G?nter@23020 11 SOURCE="daq"
Hans-G?nter@23020 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23020 13 WGET_URL="${WEB_SITE}downloads/snort/$TARBALL"
slaxemulator@7077 14
pascal@15472 15 DEPENDS="libpcap"
Hans-G?nter@23020 16 BUILD_DEPENDS="automake bison flex libpcap-dev"
pascal@15472 17
pascal@24427 18 # What is the latest version available today?
pascal@24427 19 current_version()
pascal@24427 20 {
pascal@24427 21 wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
pascal@24427 22 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-v\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24427 23 }
pascal@24427 24
slaxemulator@7077 25 # Rules to configure and make the package.
slaxemulator@7077 26 compile_rules()
slaxemulator@7077 27 {
Hans-G?nter@23020 28 autoconf &&
Hans-G?nter@23020 29 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@23020 30 make -j1 &&
Hans-G?nter@23020 31 make -j1 DESTDIR=$DESTDIR install
slaxemulator@7077 32 }
slaxemulator@7077 33
slaxemulator@7077 34 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7077 35 genpkg_rules()
slaxemulator@7077 36 {
gokhlayeh@8586 37 mkdir -p $fs/usr/lib/daq
Hans-G?nter@23020 38
Hans-G?nter@23020 39 cp -a $install/usr/lib/daq/*.so* $fs/usr/lib/daq
Hans-G?nter@23020 40 cp -a $install/usr/lib/*.so* $fs/usr/lib
slaxemulator@7077 41 }