wok-next annotate snort/receipt @ rev 17054

slim: no any changes after patch edit, use "sed slim.conf"
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Thu Aug 21 00:37:34 2014 +0200 (2014-08-21)
parents 3824a7102b48
children 914266a96a3c
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@15002 8 LICENSE="GPL2"
pascal@4653 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@4653 10 WEB_SITE="http://www.snort.org/"
slaxemulator@11329 11 WGET_URL="http://www.snort.org/downloads/1207"
pascal@15002 12
slaxemulator@7078 13 DEPENDS="pcre libdnet libdaq"
gokhlayeh@11467 14 BUILD_DEPENDS="pcre-dev libpcap-dev libdaq-dev libdnet-dev wget flex"
pascal@4653 15
pascal@4653 16 # Rules to configure and make the package.
pascal@4653 17 compile_rules()
pascal@4653 18 {
slaxemulator@10977 19 ./configure \
slaxemulator@10977 20 $CONFIGURE_ARGS &&
pascal@4653 21 make &&
slaxemulator@10977 22 make DESTDIR=$DESTDIR install
pascal@4653 23 }
pascal@4653 24
pascal@4653 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4653 26 genpkg_rules()
pascal@4653 27 {
slaxemulator@7078 28 mkdir -p $fs/usr/
samuel_trassare@14145 29 cp -a $install/usr/bin $fs/usr
samuel_trassare@14145 30 cp -a $install/usr/lib $fs/usr
pascal@4653 31 rm -f $fs/usr/lib/*/*a
slaxemulator@7078 32 rm -rf $fs/usr/lib/pkgconfig
pascal@4653 33 }