wok annotate ocsinventory/receipt @ rev 3674

Add ocsinventory-server
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Jul 11 12:17:23 2009 +0200 (2009-07-11)
parents
children 6ec17b55b59a
rev   line source
erjo@3673 1
erjo@3673 2 # SliTaz package receipt.
erjo@3673 3
erjo@3673 4 PACKAGE="ocsinventory"
erjo@3673 5 VERSION="1.02.1"
erjo@3673 6 CATEGORY="meta"
erjo@3673 7 SHORT_DESC="Automated inventory and deployement system."
erjo@3673 8 MAINTAINER="pascal.bellard@slitaz.org"
erjo@3673 9 SOURCE="OCSNG_UNIX_SERVER"
erjo@3673 10 TARBALL="$SOURCE-$VERSION.tar.gz"
erjo@3673 11 WEB_SITE="http://www.ocsinventory-ng.org/"
erjo@3673 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
erjo@3673 13 DEPENDS="ocsinventory-server ocsinventory-agent ocsreports"
erjo@3673 14 BUILD_DEPENDS="perl perl-dbd-mysql perl-apache-dbi perl-net-ip"
erjo@3673 15
erjo@3673 16
erjo@3673 17 # Rules to configure and make the package.
erjo@3673 18 compile_rules()
erjo@3673 19 {
erjo@3673 20 mv ${SOURCE}_${VERSION} $src 2> /dev/null
erjo@3673 21 cd $src/Apache
erjo@3673 22 perl Makefile.PL &&
erjo@3673 23 make &&
erjo@3673 24 make DESTDIR=$PWD/../_pkg install
erjo@3673 25 }
erjo@3673 26
erjo@3673 27 genpkg_rules() {
erjo@3673 28 mkdir $fs/usr
erjo@3673 29
erjo@3673 30 # cd $WOK
erjo@3673 31 for i in $DEPENDS
erjo@3673 32 do
erjo@3673 33 tazwok cook $i
erjo@3673 34 done
erjo@3673 35 }
erjo@3673 36
erjo@3673 37