wok annotate suricata/receipt @ rev 23848

inkscape: update build_depends
author Richard Dunbar <mojo@slitaz.org>
date Sun Jun 14 23:18:03 2020 -0400 (2020-06-14)
parents be44285d590e
children 934055de50e2
rev   line source
erjo@11452 1 # SliTaz package receipt.
erjo@11452 2
erjo@11452 3 PACKAGE="suricata"
Hans-G?nter@23683 4 VERSION="5.0.2"
erjo@11452 5 CATEGORY="security"
erjo@11452 6 SHORT_DESC="Next Generation Intrusion Detection and Prevention Engine."
erjo@11452 7 MAINTAINER="erjo@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
Hans-G?nter@23683 9 WEB_SITE="https://suricata-ids.org/"
Hans-G?nter@23683 10
erjo@11452 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@21236 12 WGET_URL="https://www.openinfosecfoundation.org/download/$TARBALL"
erjo@11452 13
Hans-G?nter@23683 14 DEPENDS="jansson libcap-ng libhtp libnetfilter_queue libnfnetlink
Hans-G?nter@23683 15 libpcap pcre yaml"
Hans-G?nter@23683 16 BUILD_DEPENDS="jansson-dev libcap-ng-dev libhtp-dev libmnl libnet-dev
Hans-G?nter@23683 17 libnfnetlink-dev libnetfilter_queue libnetfilter_queue-dev
Hans-G?nter@23683 18 libpcap-dev rust-cargo yaml-dev zlib-dev"
erjo@11452 19
erjo@11452 20 # Rules to configure and make the package.
erjo@11452 21 compile_rules()
erjo@11452 22 {
erjo@11452 23 rm -f config.h
Hans-G?nter@23683 24
Hans-G?nter@23683 25 ./configure $CONFIGURE_ARGS \
Hans-G?nter@23683 26 --enable-non-bundled-htp \
Hans-G?nter@23683 27 --enable-nfqueue \
Hans-G?nter@23683 28 --enable-af-packet &&
Hans-G?nter@23683 29 make &&
Hans-G?nter@23683 30 make install
erjo@11452 31 }
erjo@11452 32
erjo@11452 33 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@11452 34 genpkg_rules()
erjo@11452 35 {
erjo@11452 36 mkdir -p $fs/usr
Hans-G?nter@23683 37 cp -a $install/usr/bin $fs/usr
erjo@11452 38 }