wok view ocsinventory/receipt @ rev 24445

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 14 14:14:23 2022 +0000 (2022-02-14)
parents d3eb5f4b53ea
children 89c8d8b6cf48
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="https://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 }