wok-current annotate snort/receipt @ rev 25368
libmpd: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 29 10:44:25 2022 +0000 (2022-07-29) |
parents | 970deba23db6 |
children |
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" |
pascal@24939 | 9 WEB_SITE="https://github.com/snort3/snort3" |
Hans-G?nter@23656 | 10 |
pascal@4653 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@25044 | 12 WGET_URL="https://distfiles.macports.org/$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@24427 | 18 # What is the latest version available today? |
pascal@24427 | 19 current_version() |
pascal@24427 | 20 { |
pascal@24427 | 21 wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ |
pascal@25044 | 22 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24427 | 23 } |
pascal@24427 | 24 |
pascal@4653 | 25 # Rules to configure and make the package. |
pascal@4653 | 26 compile_rules() |
pascal@4653 | 27 { |
Hans-G?nter@23656 | 28 ./configure \ |
slaxemulator@10977 | 29 $CONFIGURE_ARGS && |
pascal@4653 | 30 make && |
slaxemulator@10977 | 31 make DESTDIR=$DESTDIR install |
pascal@4653 | 32 } |
pascal@4653 | 33 |
pascal@4653 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4653 | 35 genpkg_rules() |
pascal@4653 | 36 { |
Hans-G?nter@23656 | 37 mkdir -p $fs/usr |
Hans-G?nter@23656 | 38 |
Hans-G?nter@23656 | 39 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@23656 | 40 cp -a $install/usr/lib $fs/usr |
Hans-G?nter@23656 | 41 |
Hans-G?nter@23656 | 42 rm -f $fs/usr/lib/*/*a |
Hans-G?nter@23656 | 43 rm -rf $fs/usr/lib/pkgconfig |
pascal@4653 | 44 } |