wok-next view ocsinventory/receipt @ rev 8694

add: libltdl
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Feb 17 22:52:05 2011 +0100 (2011-02-17)
parents 6ec17b55b59a
children be13f25e790b
line source
2 # SliTaz package receipt.
4 PACKAGE="ocsinventory"
5 VERSION="1.3.3"
6 CATEGORY="meta"
7 SHORT_DESC="Automated inventory and deployement system."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 SOURCE="OCSNG_UNIX_SERVER"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.ocsinventory-ng.org/"
12 WGET_URL="http://launchpad.net/ocsinventory-server/stable-1.3/$VERSION/+download/$TARBALL"
13 DEPENDS="ocsinventory-server ocsinventory-agent ocsreports"
14 BUILD_DEPENDS="perl perl-dbd-mysql perl-apache-dbi perl-net-ip"
15 TAGS="system administration"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 mv ${SOURCE}_${VERSION} $src 2> /dev/null
22 cd $src/Apache
23 perl Makefile.PL &&
24 make &&
25 make DESTDIR=$PWD/../_pkg install
26 }
28 genpkg_rules() {
29 mkdir $fs/usr
31 # cd $WOK
32 for i in $DEPENDS
33 do
34 tazwok cook $i
35 done
36 }