wok-current view ocsinventory/receipt @ rev 4853
open-iscsi: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 01 21:01:44 2010 +0100 (2010-02-01) |
parents | |
children | 6ec17b55b59a |
line source
2 # SliTaz package receipt.
4 PACKAGE="ocsinventory"
5 VERSION="1.02.1"
6 CATEGORY="meta"
7 SHORT_DESC="Automated inventory and deployement system."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 SOURCE="OCSNG_UNIX_SERVER"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.ocsinventory-ng.org/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="ocsinventory-server ocsinventory-agent ocsreports"
14 BUILD_DEPENDS="perl perl-dbd-mysql perl-apache-dbi perl-net-ip"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mv ${SOURCE}_${VERSION} $src 2> /dev/null
21 cd $src/Apache
22 perl Makefile.PL &&
23 make &&
24 make DESTDIR=$PWD/../_pkg install
25 }
27 genpkg_rules() {
28 mkdir $fs/usr
30 # cd $WOK
31 for i in $DEPENDS
32 do
33 tazwok cook $i
34 done
35 }