# SliTaz package receipt. PACKAGE="ocsinventory" VERSION="2.0.4" CATEGORY="meta" SHORT_DESC="Automated inventory and deployement system." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" SOURCE="OCSNG_UNIX_SERVER" TARBALL="$SOURCE-$VERSION.tar.gz" WEB_SITE="https://www.ocsinventory-ng.org/" WGET_URL="https://launchpad.net/ocsinventory-server/stable-${VERSION%.*}/$VERSION/+download/$TARBALL" TAGS="system administration" DEPENDS="ocsinventory-server ocsinventory-agent ocsreports" BUILD_DEPENDS="perl perl-dbd-mysql perl-apache-dbi perl-net-ip wget" # What is the latest version available today? current_version() { wget -O - https://launchpad.net/ocsinventory-server/ 2>/dev/null | \ sed '/Latest version/!d;s|.*is ||' } # Rules to configure and make the package. compile_rules() { cd $src/Apache perl Makefile.PL && make && make DESTDIR=$DESTDIR install } genpkg_rules() { mkdir $fs/usr }