wok rev 20463

Add fusioninventory-agent
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 11 12:40:40 2018 +0200 (2 months ago)
parents c8f9323bb442
children f84065742f34
files fusioninventory-agent/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/fusioninventory-agent/receipt	Thu Oct 11 12:40:40 2018 +0200
     1.3 @@ -0,0 +1,29 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="fusioninventory-agent"
     1.7 +VERSION="2.4.2"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="FusionInventory generic management agent"
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +TARBALL="FusionInventory-Agent-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://fusioninventory.org/"
    1.14 +WGET_URL="https://github.com/fusioninventory/$PACKAGE/releases/download/$VERSION/$TARBALL"
    1.15 +
    1.16 +DEPENDS="perl"
    1.17 +BUILD_DEPENDS="perl"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	sed -i 's|/usr/local|/usr|;s|\$(PREFIX)\(/.../\)|\1|' Makefile.PL
    1.23 +	perl Makefile.PL
    1.24 +	make &&
    1.25 +	make DESTDIR=$DESTDIR install
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	cp -a $install/* $fs/
    1.32 +}