wok-next view snort/receipt @ rev 15629

xine-plugin: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 09 08:26:16 2013 +0000 (2013-12-09)
parents 3824a7102b48
children 914266a96a3c
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.snort.org/"
11 WGET_URL="http://www.snort.org/downloads/1207"
13 DEPENDS="pcre libdnet libdaq"
14 BUILD_DEPENDS="pcre-dev libpcap-dev libdaq-dev libdnet-dev wget flex"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/
29 cp -a $install/usr/bin $fs/usr
30 cp -a $install/usr/lib $fs/usr
31 rm -f $fs/usr/lib/*/*a
32 rm -rf $fs/usr/lib/pkgconfig
33 }