wok-next view snort/receipt @ rev 20513
A lot of tiny edits; remove wget and pkg-build from $BUILD_DEPENDS and from *-dev packages $DEPENDS.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Mar 21 15:58:17 2018 +0200 (2018-03-21) |
parents | 4396aed7eb01 |
children | 10df65db91ad |
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://www.snort.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://www.snort.org/downloads/1207"
14 BUILD_DEPENDS="pcre-dev libpcap-dev libdaq-dev libdnet-dev flex zlib-dev"
15 SPLIT="snort-dev"
17 compile_rules() {
18 ./configure $CONFIGURE_ARGS &&
19 make &&
20 make DESTDIR=$DESTDIR install
21 }
23 genpkg_rules() {
24 case $PACKAGE in
25 snort)
26 copy @std
27 DEPENDS="pcre libdnet libdaq"
28 ;;
29 *-dev)
30 copy @dev
31 ;;
32 esac
33 }