wok annotate ocsinventory/receipt @ rev 25212
updated python-passlib (1.7.2 -> 1.7.4)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 15:14:14 2022 +0100 (2022-07-13) |
parents | cea6e929d21e |
children |
rev | line source |
---|---|
erjo@3673 | 1 # SliTaz package receipt. |
erjo@3673 | 2 |
erjo@3673 | 3 PACKAGE="ocsinventory" |
erjo@12231 | 4 VERSION="2.0.4" |
erjo@3673 | 5 CATEGORY="meta" |
erjo@3673 | 6 SHORT_DESC="Automated inventory and deployement system." |
erjo@3673 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15590 | 8 LICENSE="GPL2" |
erjo@3673 | 9 SOURCE="OCSNG_UNIX_SERVER" |
erjo@3673 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@23762 | 11 WEB_SITE="https://www.ocsinventory-ng.org/" |
pascal@17869 | 12 WGET_URL="https://launchpad.net/ocsinventory-server/stable-${VERSION%.*}/$VERSION/+download/$TARBALL" |
pascal@15590 | 13 TAGS="system administration" |
pascal@15590 | 14 |
erjo@3673 | 15 DEPENDS="ocsinventory-server ocsinventory-agent ocsreports" |
pascal@12238 | 16 BUILD_DEPENDS="perl perl-dbd-mysql perl-apache-dbi perl-net-ip wget" |
erjo@3673 | 17 |
pascal@24476 | 18 # What is the latest version available today? |
pascal@24476 | 19 current_version() |
pascal@24476 | 20 { |
pascal@24476 | 21 wget -O - https://launchpad.net/ocsinventory-server/ 2>/dev/null | \ |
pascal@24476 | 22 sed '/Latest version/!d;s|.*is ||' |
pascal@24476 | 23 } |
pascal@24476 | 24 |
erjo@3673 | 25 # Rules to configure and make the package. |
erjo@3673 | 26 compile_rules() |
erjo@3673 | 27 { |
erjo@3673 | 28 cd $src/Apache |
erjo@3673 | 29 perl Makefile.PL && |
erjo@3673 | 30 make && |
pascal@15590 | 31 make DESTDIR=$DESTDIR install |
erjo@3673 | 32 } |
erjo@3673 | 33 |
pascal@17869 | 34 genpkg_rules() |
pascal@17869 | 35 { |
erjo@3673 | 36 mkdir $fs/usr |
erjo@3673 | 37 } |