wok-current view ocsinventory/receipt @ rev 24539

updated fbgrab (1.3 -> 1.5)
author Hans-G?nter Theisgen
date Wed Feb 23 15:32:13 2022 +0100 (2022-02-23)
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 }