wok view ocsinventory/receipt @ rev 24679
updated iso-codes (4.4 -> 4.9.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 12 09:36:26 2022 +0100 (2022-03-12) |
parents | cea6e929d21e |
children |
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 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://launchpad.net/ocsinventory-server/ 2>/dev/null | \
22 sed '/Latest version/!d;s|.*is ||'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 cd $src/Apache
29 perl Makefile.PL &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 genpkg_rules()
35 {
36 mkdir $fs/usr
37 }