wok view 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 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ocsinventory"
4 VERSION="2.0.4"
5 CATEGORY="meta"
6 SHORT_DESC="Automated inventory and deployement system."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 SOURCE="OCSNG_UNIX_SERVER"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.ocsinventory-ng.org/"
12 WGET_URL="https://launchpad.net/ocsinventory-server/stable-${VERSION%.*}/$VERSION/+download/$TARBALL"
13 TAGS="system administration"
15 DEPENDS="ocsinventory-server ocsinventory-agent ocsreports"
16 BUILD_DEPENDS="perl perl-dbd-mysql perl-apache-dbi perl-net-ip wget"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src/Apache
22 perl Makefile.PL &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 genpkg_rules()
28 {
29 mkdir $fs/usr
30 }