wok-6.x view fusioninventory-agent/receipt @ rev 24422
updated claws-mail packages (3.17.5 -> 3.18.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 11 16:39:51 2022 +0100 (2022-02-11) |
parents | 3434c7a83344 |
children | 1ce6630d50fe |
line source
1 # SliTaz package receipt.
3 PACKAGE="fusioninventory-agent"
4 VERSION="2.5.2"
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 DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 cp -a $install/* $fs
44 }