wok-6.x annotate 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 |
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@20463 | 13 DEPENDS="perl" |
pascal@20463 | 14 BUILD_DEPENDS="perl" |
pascal@20463 | 15 |
pascal@20463 | 16 # Rules to configure and make the package. |
pascal@20463 | 17 compile_rules() |
pascal@20463 | 18 { |
pascal@20463 | 19 sed -i 's|/usr/local|/usr|;s|\$(PREFIX)\(/.../\)|\1|' Makefile.PL |
pascal@20463 | 20 perl Makefile.PL |
pascal@20463 | 21 make && |
pascal@20463 | 22 make DESTDIR=$DESTDIR install |
pascal@20463 | 23 } |
pascal@20463 | 24 |
pascal@20463 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20463 | 26 genpkg_rules() |
pascal@20463 | 27 { |
pascal@20463 | 28 cp -a $install/* $fs/ |
pascal@20463 | 29 } |