wok-current annotate snort/receipt @ rev 21098

Add afuse (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 18 12:06:16 2019 +0100 (2019-03-18)
parents 7896f0694ef6
children 81071143a369
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@20669 10 WEB_SITE="https://www.snort.org/"
pascal@20669 11 WGET_URL="https://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 }