wok annotate fusioninventory-agent/receipt @ rev 24868
updated lxc and lxc-dev (3.2.1 -> 4.0.12)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 30 17:49:17 2022 +0100 (2022-03-30) |
parents | 5ea0ce1cecc0 |
children | 73f36875e5a7 |
rev | line source |
---|---|
pascal@20463 | 1 # SliTaz package receipt. |
pascal@20463 | 2 |
pascal@20463 | 3 PACKAGE="fusioninventory-agent" |
Hans-G?nter@24583 | 4 VERSION="2.6" |
pascal@20463 | 5 CATEGORY="network" |
Hans-G?nter@22787 | 6 SHORT_DESC="FusionInventory generic management agent." |
pascal@20463 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20463 | 8 LICENSE="GPL2" |
Hans-G?nter@22787 | 9 WEB_SITE="http://fusioninventory.org/" |
Hans-G?nter@22787 | 10 |
pascal@20463 | 11 TARBALL="FusionInventory-Agent-$VERSION.tar.gz" |
pascal@20463 | 12 WGET_URL="https://github.com/fusioninventory/$PACKAGE/releases/download/$VERSION/$TARBALL" |
pascal@20463 | 13 |
Hans-G?nter@24583 | 14 DEPENDS="libwww-perl perl-file-copy-recursive perl-file-which perl-http-proxy |
Hans-G?nter@24583 | 15 perl-http-server-simple perl-http-server-simple-authen perl-io-capture |
Hans-G?nter@24583 | 16 perl-io-socket-ssl perl-ipc-run perl-json-pp perl-lwp-protocol-https |
Hans-G?nter@24583 | 17 perl-net-ip perl-net-snmp perl-parallel-forkmanager perl-test-compile |
Hans-G?nter@24583 | 18 perl-test-deep perl-test-exception perl-test-nowarnings perl-test-mockmodule |
Hans-G?nter@24583 | 19 perl-test-mockobject perl-text-template perl-universal-require perl-uri |
Hans-G?nter@22787 | 20 perl-xml-treepp" |
pascal@20464 | 21 BUILD_DEPENDS="$DEPENDS" |
pascal@20463 | 22 |
pascal@24055 | 23 current_version() |
pascal@24055 | 24 { |
pascal@24055 | 25 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@24055 | 26 sed '/archive.*tar/!d;/pkg/d;s|.*/\(.*[0-9]\).tar.*|\1|;q' |
pascal@24055 | 27 } |
pascal@24055 | 28 |
pascal@20463 | 29 # Rules to configure and make the package. |
pascal@20463 | 30 compile_rules() |
pascal@20463 | 31 { |
Hans-G?nter@22787 | 32 sed -i 's|/usr/local|/usr|;s|\$(PREFIX)\(/.../\)|\1|' \ |
Hans-G?nter@22787 | 33 Makefile.PL |
Hans-G?nter@22787 | 34 |
Hans-G?nter@22787 | 35 perl Makefile.PL && |
pascal@20463 | 36 make && |
Hans-G?nter@24583 | 37 make install DESTDIR=$DESTDIR |
pascal@20463 | 38 } |
pascal@20463 | 39 |
pascal@20463 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20463 | 41 genpkg_rules() |
pascal@20463 | 42 { |
Hans-G?nter@22787 | 43 cp -a $install/* $fs |
pascal@20463 | 44 } |