wok view fusioninventory-agent/receipt @ rev 24915

updated monitorix (3.12.0 -> 3.14.0)
author Hans-G?nter Theisgen
date Sat Apr 09 16:53:38 2022 +0100 (2022-04-09)
parents 5ea0ce1cecc0
children 73f36875e5a7
line source
1 # SliTaz package receipt.
3 PACKAGE="fusioninventory-agent"
4 VERSION="2.6"
5 CATEGORY="network"
6 SHORT_DESC="FusionInventory generic management agent."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://fusioninventory.org/"
11 TARBALL="FusionInventory-Agent-$VERSION.tar.gz"
12 WGET_URL="https://github.com/fusioninventory/$PACKAGE/releases/download/$VERSION/$TARBALL"
14 DEPENDS="libwww-perl perl-file-copy-recursive perl-file-which perl-http-proxy
15 perl-http-server-simple perl-http-server-simple-authen perl-io-capture
16 perl-io-socket-ssl perl-ipc-run perl-json-pp perl-lwp-protocol-https
17 perl-net-ip perl-net-snmp perl-parallel-forkmanager perl-test-compile
18 perl-test-deep perl-test-exception perl-test-nowarnings perl-test-mockmodule
19 perl-test-mockobject perl-text-template perl-universal-require perl-uri
20 perl-xml-treepp"
21 BUILD_DEPENDS="$DEPENDS"
23 current_version()
24 {
25 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
26 sed '/archive.*tar/!d;/pkg/d;s|.*/\(.*[0-9]\).tar.*|\1|;q'
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 sed -i 's|/usr/local|/usr|;s|\$(PREFIX)\(/.../\)|\1|' \
33 Makefile.PL
35 perl Makefile.PL &&
36 make &&
37 make install DESTDIR=$DESTDIR
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 cp -a $install/* $fs
44 }