wok annotate ocsinventory/receipt @ rev 8476

Fixed some receipts that used PACKAGE-VERSION installed of src.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Feb 07 18:38:32 2011 +0000 (2011-02-07)
parents 6ec17b55b59a
children be13f25e790b
rev   line source
erjo@3673 1
erjo@3673 2 # SliTaz package receipt.
erjo@3673 3
erjo@3673 4 PACKAGE="ocsinventory"
erjo@8384 5 VERSION="1.3.3"
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@8384 12 WGET_URL="http://launchpad.net/ocsinventory-server/stable-1.3/$VERSION/+download/$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"
jozee@4970 15 TAGS="system administration"
erjo@3673 16
erjo@3673 17
erjo@3673 18 # Rules to configure and make the package.
erjo@3673 19 compile_rules()
erjo@3673 20 {
erjo@3673 21 mv ${SOURCE}_${VERSION} $src 2> /dev/null
erjo@3673 22 cd $src/Apache
erjo@3673 23 perl Makefile.PL &&
erjo@3673 24 make &&
erjo@3673 25 make DESTDIR=$PWD/../_pkg install
erjo@3673 26 }
erjo@3673 27
erjo@3673 28 genpkg_rules() {
erjo@3673 29 mkdir $fs/usr
erjo@3673 30
erjo@3673 31 # cd $WOK
erjo@3673 32 for i in $DEPENDS
erjo@3673 33 do
erjo@3673 34 tazwok cook $i
erjo@3673 35 done
erjo@3673 36 }
erjo@3673 37
erjo@3673 38