wok view fusioninventory-agent/receipt @ rev 22814

openvas-libraries: patch for Bison 3
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 01 18:47:18 2020 +0100 (2020-02-01)
parents 7423cf91a25b
children 5ea0ce1cecc0
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 # Rules to configure and make the package.
24 compile_rules()
25 {
26 sed -i 's|/usr/local|/usr|;s|\$(PREFIX)\(/.../\)|\1|' \
27 Makefile.PL
29 perl Makefile.PL &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/* $fs
38 }