wok view snort/receipt @ rev 23440
linux-zram: autostart
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 02 12:22:43 2020 +0200 (2020-04-02) |
parents | 7896f0694ef6 |
children | 81071143a369 |
line source
1 # SliTaz package receipt.
3 PACKAGE="snort"
4 VERSION="2.9.4"
5 CATEGORY="network"
6 SHORT_DESC="Network intrusion prevention and detection system (IDS/IPS)."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://www.snort.org/"
11 WGET_URL="https://www.snort.org/downloads/1207"
13 DEPENDS="pcre libdnet libdaq"
14 BUILD_DEPENDS="pcre-dev libpcap-dev libdaq-dev libdnet-dev wget flex"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/
29 cp -a $install/usr/bin $fs/usr
30 cp -a $install/usr/lib $fs/usr
31 rm -f $fs/usr/lib/*/*a
32 rm -rf $fs/usr/lib/pkgconfig
33 }