wok annotate fusioninventory-agent/receipt @ rev 20465
fusioninventory-agenti: update deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 11 13:02:55 2018 +0200 (2018-10-11) |
parents | f84065742f34 |
children | 783d6baff05e |
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@20465 | 13 DEPENDS="perl-http-server-simple perl-io-socket-ssl perl-ipc-run perl-json \ |
pascal@20465 | 14 perl-net-ip perl-net-snmp perl-test-deep perl-test-exception \ |
pascal@20465 | 15 perl-test-nowarnings" |
pascal@20464 | 16 BUILD_DEPENDS="$DEPENDS" |
pascal@20463 | 17 |
pascal@20463 | 18 # Rules to configure and make the package. |
pascal@20463 | 19 compile_rules() |
pascal@20463 | 20 { |
pascal@20463 | 21 sed -i 's|/usr/local|/usr|;s|\$(PREFIX)\(/.../\)|\1|' Makefile.PL |
pascal@20463 | 22 perl Makefile.PL |
pascal@20463 | 23 make && |
pascal@20463 | 24 make DESTDIR=$DESTDIR install |
pascal@20463 | 25 } |
pascal@20463 | 26 |
pascal@20463 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20463 | 28 genpkg_rules() |
pascal@20463 | 29 { |
pascal@20463 | 30 cp -a $install/* $fs/ |
pascal@20463 | 31 } |