wok view snort/receipt @ rev 14360

electricsheep: fix Makefile (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 18 13:47:04 2013 +0200 (2013-04-18)
parents 935c845c0feb
children 7896f0694ef6
line source
1 # SliTaz package receipt.
3 PACKAGE="snort"
4 VERSION="2.9.4"
5 CATEGORY="network"
6 SHORT_DESC="Network intrusion prevention and detection system (IDS/IPS)."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.snort.org/"
10 WGET_URL="http://www.snort.org/downloads/1207"
11 DEPENDS="pcre libdnet libdaq"
12 BUILD_DEPENDS="pcre-dev libpcap-dev libdaq-dev libdnet-dev wget flex"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 ./configure \
18 $CONFIGURE_ARGS &&
19 make &&
20 make DESTDIR=$DESTDIR install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/
27 cp -a $install/usr/bin $fs/usr
28 cp -a $install/usr/lib $fs/usr
29 rm -f $fs/usr/lib/*/*a
30 rm -rf $fs/usr/lib/pkgconfig
31 }