wok-4.x view ocsinventory/receipt @ rev 7938

slitaz-mercurial-style: Migration continue (one can follow in live on hg.slitaz.org)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Jan 11 22:37:12 2011 +0100 (2011-01-11)
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 }