wok-stable view snort/receipt @ rev 9452
Up: iron-linux (10.0.650.0)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sat Apr 02 19:44:29 2011 +0000 (2011-04-02) |
parents | 102de15fea8d |
children | b3c329b0dad0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="snort"
4 VERSION="2.9.0.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/637"
11 DEPENDS="pcre libdnet libdaq"
12 BUILD_DEPENDS="pcre-dev libpcap-dev libdaq-dev libdnet-dev wget"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/lib $fs/usr
31 rm -f $fs/usr/lib/*/*a
32 rm -rf $fs/usr/lib/pkgconfig
33 }