wok-stable view ocsinventory/receipt @ rev 6776
Up: tazpkg (4.0) New functions, improvmend and fully gettextized
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Oct 18 21:46:16 2010 +0200 (2010-10-18) |
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 }