wok annotate snort/receipt @ rev 23877
Up busybox (1.32.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 01 17:06:12 2020 +0000 (2020-07-01) |
parents | a78610b2eb47 |
children | 83b97236db32 |
rev | line source |
---|---|
pascal@4653 | 1 # SliTaz package receipt. |
pascal@4653 | 2 |
pascal@4653 | 3 PACKAGE="snort" |
Hans-G?nter@23656 | 4 VERSION="2.9.16" |
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" |
Hans-G?nter@23656 | 9 WEB_SITE="https://www.snort.org/" |
Hans-G?nter@23656 | 10 |
pascal@4653 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@23656 | 12 WGET_URL="${WEB_SITE}downloads/$PACKAGE/$TARBALL" |
pascal@15002 | 13 |
Hans-G?nter@23656 | 14 DEPENDS="libdaq libdnet openssl pcre" |
Hans-G?nter@23656 | 15 BUILD_DEPENDS="flex libdaq-dev libdnet-dev libpcap-dev luajit-dev |
Hans-G?nter@23656 | 16 openssl-dev pcre-dev" |
pascal@4653 | 17 |
pascal@4653 | 18 # Rules to configure and make the package. |
pascal@4653 | 19 compile_rules() |
pascal@4653 | 20 { |
Hans-G?nter@23656 | 21 ./configure \ |
slaxemulator@10977 | 22 $CONFIGURE_ARGS && |
pascal@4653 | 23 make && |
slaxemulator@10977 | 24 make DESTDIR=$DESTDIR install |
pascal@4653 | 25 } |
pascal@4653 | 26 |
pascal@4653 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4653 | 28 genpkg_rules() |
pascal@4653 | 29 { |
Hans-G?nter@23656 | 30 mkdir -p $fs/usr |
Hans-G?nter@23656 | 31 |
Hans-G?nter@23656 | 32 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@23656 | 33 cp -a $install/usr/lib $fs/usr |
Hans-G?nter@23656 | 34 |
Hans-G?nter@23656 | 35 rm -f $fs/usr/lib/*/*a |
Hans-G?nter@23656 | 36 rm -rf $fs/usr/lib/pkgconfig |
pascal@4653 | 37 } |