wok view snort/receipt @ rev 25723

added recipe for xfce4-mixer-lang
author Hans-G?nter Theisgen
date Sat Aug 17 16:43:37 2024 +0100 (2 months ago)
parents 8e505f99deb3
children
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 - https://github.com/snort3/snort3/tags 2>/dev/null | \
22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;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 }