# SliTaz package receipt.

PACKAGE="ocsinventory"
VERSION="2.0.4"
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="https://launchpad.net/ocsinventory-server/stable-2.0/$VERSION/+download/$TARBALL"
DEPENDS="ocsinventory-server ocsinventory-agent ocsreports"
BUILD_DEPENDS="perl perl-dbd-mysql perl-apache-dbi perl-net-ip wget"
TAGS="system administration"


# Rules to configure and make the package.
compile_rules()
{
	cd $src/Apache
	perl Makefile.PL &&
	make &&
	make DESTDIR=$PWD/../_pkg install
}

genpkg_rules() {
	mkdir $fs/usr
}