wok view snort/receipt @ rev 25351

updated tesseract and tesseract-dev (3.02.02 -> 5.2.0)
author Hans-G?nter Theisgen
date Tue Jul 26 13:57:27 2022 +0100 (2022-07-26)
parents 970deba23db6
children 5db546345599
line source
1 # SliTaz package receipt.
3 PACKAGE="snort"
4 VERSION="2.9.16"
5 CATEGORY="network"
6 SHORT_DESC="Network intrusion prevention and detection system (IDS/IPS)."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/snort3/snort3"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://distfiles.macports.org/$PACKAGE/$TARBALL"
14 DEPENDS="libdaq libdnet openssl pcre"
15 BUILD_DEPENDS="flex libdaq-dev libdnet-dev libpcap-dev luajit-dev
16 openssl-dev pcre-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
22 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/lib $fs/usr
42 rm -f $fs/usr/lib/*/*a
43 rm -rf $fs/usr/lib/pkgconfig
44 }