wok annotate fusioninventory-agent/receipt @ rev 20464

fusioninventory-agenti: update deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 11 12:59:56 2018 +0200 (2018-10-11)
parents 80a170b0fdaf
children 09b8953a7712
rev   line source
pascal@20463 1 # SliTaz package receipt.
pascal@20463 2
pascal@20463 3 PACKAGE="fusioninventory-agent"
pascal@20463 4 VERSION="2.4.2"
pascal@20463 5 CATEGORY="network"
pascal@20463 6 SHORT_DESC="FusionInventory generic management agent"
pascal@20463 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20463 8 LICENSE="GPL2"
pascal@20463 9 TARBALL="FusionInventory-Agent-$VERSION.tar.gz"
pascal@20463 10 WEB_SITE="http://fusioninventory.org/"
pascal@20463 11 WGET_URL="https://github.com/fusioninventory/$PACKAGE/releases/download/$VERSION/$TARBALL"
pascal@20463 12
pascal@20464 13 DEPENDS="perl perl-io-socket-ssl perl-ipc-run perl-json perl-net-ip \
pascal@20464 14 perl-net-snmp perl-test-deep perl-test-exception perl-test-nowarnings"
pascal@20464 15 BUILD_DEPENDS="$DEPENDS"
pascal@20463 16
pascal@20463 17 # Rules to configure and make the package.
pascal@20463 18 compile_rules()
pascal@20463 19 {
pascal@20463 20 sed -i 's|/usr/local|/usr|;s|\$(PREFIX)\(/.../\)|\1|' Makefile.PL
pascal@20463 21 perl Makefile.PL
pascal@20463 22 make &&
pascal@20463 23 make DESTDIR=$DESTDIR install
pascal@20463 24 }
pascal@20463 25
pascal@20463 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20463 27 genpkg_rules()
pascal@20463 28 {
pascal@20463 29 cp -a $install/* $fs/
pascal@20463 30 }