wok view fusioninventory-agent/receipt @ rev 20463

Add fusioninventory-agent
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 11 12:40:40 2018 +0200 (2018-10-11)
parents
children f84065742f34
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="perl"
14 BUILD_DEPENDS="perl"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's|/usr/local|/usr|;s|\$(PREFIX)\(/.../\)|\1|' Makefile.PL
20 perl Makefile.PL
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cp -a $install/* $fs/
29 }