wok-next view ocsinventory/receipt @ rev 7762
Up: tazlito (3.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 22 13:37:46 2010 +0100 (2010-12-22) |
parents | f127aa0ec2e2 |
children | 93d0091756cf |
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"
15 TAGS="system administration"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 mv ${SOURCE}_${VERSION} $src 2> /dev/null
22 cd $src/Apache
23 perl Makefile.PL &&
24 make &&
25 make DESTDIR=$PWD/../_pkg install
26 }
28 genpkg_rules() {
29 mkdir $fs/usr
31 # cd $WOK
32 for i in $DEPENDS
33 do
34 tazwok cook $i
35 done
36 }