wok-current view fusioninventory-agent/receipt @ rev 21216

scim-pinyin: added build dependency libtool
author Hans-G?nter Theisgen
date Tue Apr 09 17:39:00 2019 +0100 (2019-04-09)
parents 092704d51019
children 3434c7a83344
line source
1 # SliTaz package receipt.
3 PACKAGE="fusioninventory-agent"
4 VERSION="2.4.2"
5 CATEGORY="network"
6 SHORT_DESC="FusionInventory generic management agent"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="FusionInventory-Agent-$VERSION.tar.gz"
10 WEB_SITE="http://fusioninventory.org/"
11 WGET_URL="https://github.com/fusioninventory/$PACKAGE/releases/download/$VERSION/$TARBALL"
13 DEPENDS="libwww-perl perl-file-copy-recursive perl-file-which perl-http-proxy \
14 perl-http-server-simple perl-http-server-simple-authen perl-io-capture \
15 perl-io-socket-ssl perl-ipc-run perl-json-pp perl-lwp-protocol-https \
16 perl-net-ip perl-net-snmp perl-parallel-forkmanager perl-test-compile \
17 perl-test-deep perl-test-exception perl-test-nowarnings perl-test-mockmodule \
18 perl-test-mockobject perl-text-template perl-universal-require perl-uri \
19 perl-xml-treepp"
20 BUILD_DEPENDS="$DEPENDS"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 sed -i 's|/usr/local|/usr|;s|\$(PREFIX)\(/.../\)|\1|' Makefile.PL
26 perl Makefile.PL
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/* $fs/
35 }