wok view snort/receipt @ rev 25143

updated plsh (1.20171014 -> 1.20200522)
author Hans-G?nter Theisgen
date Wed Jun 29 14:42:01 2022 +0100 (23 months ago)
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 }