wok-6.x view ocsinventory/receipt @ rev 4317

Codeblocks: hack for new glib
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 29 10:37:40 2009 +0200 (2009-09-29)
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 }