wok-current annotate snort/receipt @ rev 5985

gdb-dev: Update to remove files already included by binutils
author Matthew Sheets <rcx@zoominternet.net>
date Sat Aug 14 00:25:26 2010 +0000 (2010-08-14)
parents
children babae9464b6b
rev   line source
pascal@4653 1 # SliTaz package receipt.
pascal@4653 2
pascal@4653 3 PACKAGE="snort"
pascal@4653 4 VERSION="2.8.5.1"
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@4653 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@4653 9 WEB_SITE="http://www.snort.org/"
pascal@4653 10 WGET_URL="http://dl.snort.org/snort-current/$TARBALL"
pascal@4653 11 DEPENDS="pcre"
pascal@4653 12 BUILD_DEPENDS="pcre-dev libpcap"
pascal@4653 13
pascal@4653 14 # Rules to configure and make the package.
pascal@4653 15 compile_rules()
pascal@4653 16 {
pascal@4653 17 cd $src
pascal@4653 18 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@4653 19 --mandir=/usr/share/man \
pascal@4653 20 $CONFIGURE_ARGS &&
pascal@4653 21 make &&
pascal@4653 22 make DESTDIR=$PWD/_pkg install
pascal@4653 23 }
pascal@4653 24
pascal@4653 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4653 26 genpkg_rules()
pascal@4653 27 {
pascal@4653 28 mkdir -p $fs/usr
pascal@4653 29 cp -a $_pkg/usr/bin $fs/usr
pascal@4653 30 cp -a $_pkg/usr/lib $fs/usr
pascal@4653 31 rm -f $fs/usr/lib/*/*a
pascal@4653 32 }