wok-6.x annotate ocsinventory/receipt @ rev 17869
Use VERSION variable
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 26 09:34:19 2015 +0100 (2015-03-26) |
parents | 600aaedb561d |
children | cea6e929d21e |
rev | line source |
---|---|
erjo@3673 | 1 # SliTaz package receipt. |
erjo@3673 | 2 |
erjo@3673 | 3 PACKAGE="ocsinventory" |
erjo@12231 | 4 VERSION="2.0.4" |
erjo@3673 | 5 CATEGORY="meta" |
erjo@3673 | 6 SHORT_DESC="Automated inventory and deployement system." |
erjo@3673 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15590 | 8 LICENSE="GPL2" |
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/" |
pascal@17869 | 12 WGET_URL="https://launchpad.net/ocsinventory-server/stable-${VERSION%.*}/$VERSION/+download/$TARBALL" |
pascal@15590 | 13 TAGS="system administration" |
pascal@15590 | 14 |
erjo@3673 | 15 DEPENDS="ocsinventory-server ocsinventory-agent ocsreports" |
pascal@12238 | 16 BUILD_DEPENDS="perl perl-dbd-mysql perl-apache-dbi perl-net-ip wget" |
erjo@3673 | 17 |
erjo@3673 | 18 # Rules to configure and make the package. |
erjo@3673 | 19 compile_rules() |
erjo@3673 | 20 { |
erjo@3673 | 21 cd $src/Apache |
erjo@3673 | 22 perl Makefile.PL && |
erjo@3673 | 23 make && |
pascal@15590 | 24 make DESTDIR=$DESTDIR install |
erjo@3673 | 25 } |
erjo@3673 | 26 |
pascal@17869 | 27 genpkg_rules() |
pascal@17869 | 28 { |
erjo@3673 | 29 mkdir $fs/usr |
erjo@3673 | 30 } |