wok-6.x annotate snort/receipt @ rev 7391
Fixed path for vboxvideo.so and vboxmouse.so files in virtualbox-ose.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Nov 26 05:05:55 2010 +0000 (2010-11-26) |
parents | 6c12c90a5937 |
children | 20a284d3a835 |
rev | line source |
---|---|
pascal@4653 | 1 # SliTaz package receipt. |
pascal@4653 | 2 |
pascal@4653 | 3 PACKAGE="snort" |
slaxemulator@7078 | 4 VERSION="2.9.0.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/" |
slaxemulator@7078 | 10 WGET="http://www.snort.org/downloads/308" |
slaxemulator@7078 | 11 DEPENDS="pcre libdnet libdaq" |
slaxemulator@7168 | 12 BUILD_DEPENDS="pcre-dev libpcap-dev libdaq-dev libdnet-dev" |
pascal@4653 | 13 |
pascal@4653 | 14 # Rules to configure and make the package. |
pascal@4653 | 15 compile_rules() |
pascal@4653 | 16 { |
slaxemulator@7078 | 17 # this is needed even if tazwok support https |
slaxemulator@7078 | 18 if [ -f $SOURCES_REPOSITORY/$TARBALL ]; then |
slaxemulator@7078 | 19 tar xzf $SOURCES_REPOSITORY/$TARBALL |
slaxemulator@7078 | 20 else |
slaxemulator@7078 | 21 [ -L /usr/bin/wget ] && tazpkg get-install wget --forced |
slaxemulator@7078 | 22 wget -O $SOURCES_REPOSITORY/$TARBALL --no-check-certificate "$WGET" |
slaxemulator@7079 | 23 tar xzf $SOURCES_REPOSITORY/$TARBALL |
slaxemulator@7078 | 24 fi |
pascal@4653 | 25 cd $src |
pascal@4653 | 26 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@4653 | 27 --mandir=/usr/share/man \ |
pascal@4653 | 28 $CONFIGURE_ARGS && |
pascal@4653 | 29 make && |
pascal@4653 | 30 make DESTDIR=$PWD/_pkg install |
pascal@4653 | 31 } |
pascal@4653 | 32 |
pascal@4653 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4653 | 34 genpkg_rules() |
pascal@4653 | 35 { |
slaxemulator@7078 | 36 mkdir -p $fs/usr/ |
pascal@4653 | 37 cp -a $_pkg/usr/bin $fs/usr |
pascal@4653 | 38 cp -a $_pkg/usr/lib $fs/usr |
pascal@4653 | 39 rm -f $fs/usr/lib/*/*a |
slaxemulator@7078 | 40 rm -rf $fs/usr/lib/pkgconfig |
pascal@4653 | 41 } |