wok-current annotate fusioninventory-agent/receipt @ rev 20471
Up perl (5.14.1); fusioninventory-agent: update deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 12 18:15:10 2018 +0200 (2018-10-12) |
parents | 092704d51019 |
children | 3434c7a83344 |
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@20471 | 13 DEPENDS="libwww-perl 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@20471 | 17 perl-test-deep perl-test-exception perl-test-nowarnings perl-test-mockmodule \ |
pascal@20471 | 18 perl-test-mockobject perl-text-template perl-universal-require perl-uri \ |
pascal@20471 | 19 perl-xml-treepp" |
pascal@20464 | 20 BUILD_DEPENDS="$DEPENDS" |
pascal@20463 | 21 |
pascal@20463 | 22 # Rules to configure and make the package. |
pascal@20463 | 23 compile_rules() |
pascal@20463 | 24 { |
pascal@20463 | 25 sed -i 's|/usr/local|/usr|;s|\$(PREFIX)\(/.../\)|\1|' Makefile.PL |
pascal@20463 | 26 perl Makefile.PL |
pascal@20463 | 27 make && |
pascal@20463 | 28 make DESTDIR=$DESTDIR install |
pascal@20463 | 29 } |
pascal@20463 | 30 |
pascal@20463 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20463 | 32 genpkg_rules() |
pascal@20463 | 33 { |
pascal@20463 | 34 cp -a $install/* $fs/ |
pascal@20463 | 35 } |