wok diff ocsinventory/receipt @ rev 4378

emacs: up depends
author Paul Issott <paul@slitaz.org>
date Mon Oct 12 21:19:14 2009 +0000 (2009-10-12)
parents
children 6ec17b55b59a
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ocsinventory/receipt	Mon Oct 12 21:19:14 2009 +0000
     1.3 @@ -0,0 +1,37 @@
     1.4 +
     1.5 +# SliTaz package receipt.
     1.6 +
     1.7 +PACKAGE="ocsinventory"
     1.8 +VERSION="1.02.1"
     1.9 +CATEGORY="meta"
    1.10 +SHORT_DESC="Automated inventory and deployement system."
    1.11 +MAINTAINER="pascal.bellard@slitaz.org"
    1.12 +SOURCE="OCSNG_UNIX_SERVER"
    1.13 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://www.ocsinventory-ng.org/"
    1.15 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.16 +DEPENDS="ocsinventory-server ocsinventory-agent ocsreports"
    1.17 +BUILD_DEPENDS="perl perl-dbd-mysql perl-apache-dbi perl-net-ip"
    1.18 +
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	mv ${SOURCE}_${VERSION} $src 2> /dev/null
    1.24 +	cd $src/Apache
    1.25 +	perl Makefile.PL &&
    1.26 +	make &&
    1.27 +	make DESTDIR=$PWD/../_pkg install
    1.28 +}
    1.29 +
    1.30 +genpkg_rules() {
    1.31 +	mkdir $fs/usr
    1.32 +	
    1.33 +#	cd $WOK 
    1.34 +	for i in $DEPENDS
    1.35 +	do
    1.36 +		 tazwok cook $i
    1.37 +	done
    1.38 +}
    1.39 +
    1.40 +