wok view openvas-manager/receipt @ rev 7674
Fixed linux. Need to make folder PWD/_pkg before adding bzImage to it. Also i'm force copying kernel config file now so we have the right config. It is copyed twice so its needed and doesn't hunt anything i think.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Dec 16 17:16:06 2010 +0000 (2010-12-16) |
parents | ae0bd9b30c56 |
children | ad786a87b22e |
line source
1 # SliTaz package receipt.
3 PACKAGE="openvas-manager"
4 VERSION="0.9.8"
5 CATEGORY="network"
6 SHORT_DESC="Network security scanner (manager)."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.openvas.org/"
10 WGET_URL="http://wald.intevation.org/frs/download.php/687/$TARBALL"
11 DEPENDS="openvas-libraries sqlite util-linux-ng-uuid"
12 BUILD_DEPENDS="openvas-libraries openvas-libraries-dev pkg-config \
13 util-linux-ng-uuid-dev doxygen cmake gnutls sqlite sqlite-dev"
14 CONFIG_FILES="/etc/openvas"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 cmake -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc \
21 -DLOCALSTATEDIR=/var
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/etc $fs
31 cp -a $_pkg/usr/bin $fs/usr
32 }