wok-6.x annotate fusioninventory-agent/receipt @ rev 20470
fusioninventory-agent: update deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 12 12:58:54 2018 +0200 (2018-10-12) |
parents | 660220d9dba5 |
children | 7423cf91a25b |
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@20470 | 13 DEPENDS="perl-extutils-makemaker perl-file-copy-recursive perl-file-which perl-http-proxy \ |
pascal@20469 | 14 perl-http-server-simple perl-http-server-simple-authen perl-io-capture \ |
pascal@20469 | 15 perl-io-socket-ssl perl-ipc-run perl-json-pp perl-lwp-protocol-https \ |
pascal@20469 | 16 perl-net-ip perl-net-snmp perl-parallel-forkmanager perl-test-compile \ |
pascal@20470 | 17 perl-test-deep perl-test-exception perl-test-nowarnings perl-test-mockmodule perl-test-mockobject \ |
pascal@20469 | 18 perl-text-template perl-universal-require perl-uri perl-xml-treepp" |
pascal@20464 | 19 BUILD_DEPENDS="$DEPENDS" |
pascal@20463 | 20 |
pascal@20463 | 21 # Rules to configure and make the package. |
pascal@20463 | 22 compile_rules() |
pascal@20463 | 23 { |
pascal@20463 | 24 sed -i 's|/usr/local|/usr|;s|\$(PREFIX)\(/.../\)|\1|' Makefile.PL |
pascal@20463 | 25 perl Makefile.PL |
pascal@20463 | 26 make && |
pascal@20463 | 27 make DESTDIR=$DESTDIR install |
pascal@20463 | 28 } |
pascal@20463 | 29 |
pascal@20463 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20463 | 31 genpkg_rules() |
pascal@20463 | 32 { |
pascal@20463 | 33 cp -a $install/* $fs/ |
pascal@20463 | 34 } |