wok view snort/receipt @ rev 24647

updated hp15c (4.0.00 -> 4.3.00)
author Hans-G?nter Theisgen
date Thu Mar 10 11:23:00 2022 +0100 (2022-03-10)
parents 81071143a369
children 970deba23db6
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://www.snort.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}downloads/$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 "/openappid/d;/latest/d;/$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 }