wok view snort/receipt @ rev 8530

Fixed libwebkit to not need src varible folder. Moved GtkLanucher to DESTDIR/usr/bin in compile_rules so we can save 300mb on tank.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Feb 13 01:40:21 2011 +0000 (2011-02-13)
parents 20a284d3a835
children 102de15fea8d
line source
1 # SliTaz package receipt.
3 PACKAGE="snort"
4 VERSION="2.9.0.3"
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="http://www.snort.org/downloads/637"
11 DEPENDS="pcre libdnet libdaq"
12 BUILD_DEPENDS="pcre-dev libpcap-dev libdaq-dev libdnet-dev"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 # this is needed even if tazwok support https
18 if [ -f $SOURCES_REPOSITORY/$TARBALL ]; then
19 tar xzf $SOURCES_REPOSITORY/$TARBALL
20 else
21 [ -L /usr/bin/wget ] && tazpkg get-install wget --forced
22 wget -O $SOURCES_REPOSITORY/$TARBALL --no-check-certificate "$WGET"
23 tar xzf $SOURCES_REPOSITORY/$TARBALL
24 fi
25 cd $src
26 ./configure --prefix=/usr --infodir=/usr/share/info \
27 --mandir=/usr/share/man \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$PWD/_pkg install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/
37 cp -a $_pkg/usr/bin $fs/usr
38 cp -a $_pkg/usr/lib $fs/usr
39 rm -f $fs/usr/lib/*/*a
40 rm -rf $fs/usr/lib/pkgconfig
41 }