# HG changeset patch # User Eric Joseph-Alexandre # Date 1247307420 -7200 # Node ID f127aa0ec2e27405b3da97172f7b59ecc6518e10 # Parent 90b9bfd8dfb00eb763f1da92a92783f114a2b16c Add ocsinventory (meta packages) diff -r 90b9bfd8dfb0 -r f127aa0ec2e2 ocsinventory/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ocsinventory/receipt Sat Jul 11 12:17:00 2009 +0200 @@ -0,0 +1,37 @@ + +# SliTaz package receipt. + +PACKAGE="ocsinventory" +VERSION="1.02.1" +CATEGORY="meta" +SHORT_DESC="Automated inventory and deployement system." +MAINTAINER="pascal.bellard@slitaz.org" +SOURCE="OCSNG_UNIX_SERVER" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://www.ocsinventory-ng.org/" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" +DEPENDS="ocsinventory-server ocsinventory-agent ocsreports" +BUILD_DEPENDS="perl perl-dbd-mysql perl-apache-dbi perl-net-ip" + + +# Rules to configure and make the package. +compile_rules() +{ + mv ${SOURCE}_${VERSION} $src 2> /dev/null + cd $src/Apache + perl Makefile.PL && + make && + make DESTDIR=$PWD/../_pkg install +} + +genpkg_rules() { + mkdir $fs/usr + +# cd $WOK + for i in $DEPENDS + do + tazwok cook $i + done +} + +