wok-6.x annotate snort/receipt @ rev 14145
snort*: up 2.9.4
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Fri Mar 01 14:45:13 2013 -0800 (2013-03-01) |
parents | 935c845c0feb |
children | 7896f0694ef6 |
rev | line source |
---|---|
pascal@4653 | 1 # SliTaz package receipt. |
pascal@4653 | 2 |
pascal@4653 | 3 PACKAGE="snort" |
samuel_trassare@14145 | 4 VERSION="2.9.4" |
pascal@4653 | 5 CATEGORY="network" |
pascal@4653 | 6 SHORT_DESC="Network intrusion prevention and detection system (IDS/IPS)." |
pascal@4653 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@4653 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@4653 | 9 WEB_SITE="http://www.snort.org/" |
slaxemulator@11329 | 10 WGET_URL="http://www.snort.org/downloads/1207" |
slaxemulator@7078 | 11 DEPENDS="pcre libdnet libdaq" |
gokhlayeh@11467 | 12 BUILD_DEPENDS="pcre-dev libpcap-dev libdaq-dev libdnet-dev wget flex" |
pascal@4653 | 13 |
pascal@4653 | 14 # Rules to configure and make the package. |
pascal@4653 | 15 compile_rules() |
pascal@4653 | 16 { |
slaxemulator@10977 | 17 ./configure \ |
slaxemulator@10977 | 18 $CONFIGURE_ARGS && |
pascal@4653 | 19 make && |
slaxemulator@10977 | 20 make DESTDIR=$DESTDIR install |
pascal@4653 | 21 } |
pascal@4653 | 22 |
pascal@4653 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4653 | 24 genpkg_rules() |
pascal@4653 | 25 { |
slaxemulator@7078 | 26 mkdir -p $fs/usr/ |
samuel_trassare@14145 | 27 cp -a $install/usr/bin $fs/usr |
samuel_trassare@14145 | 28 cp -a $install/usr/lib $fs/usr |
pascal@4653 | 29 rm -f $fs/usr/lib/*/*a |
slaxemulator@7078 | 30 rm -rf $fs/usr/lib/pkgconfig |
pascal@4653 | 31 } |