wok-current view snort/receipt @ rev 24002
Up tazinst (109)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 16 11:02:29 2021 +0000 (2021-01-16) |
parents | a78610b2eb47 |
children | 83b97236db32 |
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 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/lib $fs/usr
35 rm -f $fs/usr/lib/*/*a
36 rm -rf $fs/usr/lib/pkgconfig
37 }