wok-6.x annotate ocsinventory/receipt @ rev 15805
bash: prevent rm .bashrc error when removing bash
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Thu Jan 23 13:38:58 2014 +0000 (2014-01-23) |
parents | f1c90c0c506d |
children | d3eb5f4b53ea |
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" |
erjo@3673 | 11 WEB_SITE="http://www.ocsinventory-ng.org/" |
erjo@12231 | 12 WGET_URL="https://launchpad.net/ocsinventory-server/stable-2.0/$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 |
erjo@3673 | 27 genpkg_rules() { |
erjo@3673 | 28 mkdir $fs/usr |
erjo@3673 | 29 } |
erjo@3673 | 30 |
erjo@3673 | 31 |