wok annotate ocsinventory/receipt @ rev 23839

Up tor (0.4.3.5)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 03 18:59:32 2020 +0000 (2020-06-03)
parents d3eb5f4b53ea
children 89c8d8b6cf48
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
erjo@3673 18 # Rules to configure and make the package.
erjo@3673 19 compile_rules()
erjo@3673 20 {
erjo@3673 21 cd $src/Apache
erjo@3673 22 perl Makefile.PL &&
erjo@3673 23 make &&
pascal@15590 24 make DESTDIR=$DESTDIR install
erjo@3673 25 }
erjo@3673 26
pascal@17869 27 genpkg_rules()
pascal@17869 28 {
erjo@3673 29 mkdir $fs/usr
erjo@3673 30 }