wok-6.x annotate ocsinventory/receipt @ rev 6389
Fixed some depends problems when building gtk-vnc. Like added libtasn1 to libtasn1-dev. Some builds need the .so files and the headers.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Sep 23 18:31:29 2010 +0000 (2010-09-23) |
parents | f127aa0ec2e2 |
children | 93d0091756cf |
rev | line source |
---|---|
erjo@3673 | 1 |
erjo@3673 | 2 # SliTaz package receipt. |
erjo@3673 | 3 |
erjo@3673 | 4 PACKAGE="ocsinventory" |
erjo@3673 | 5 VERSION="1.02.1" |
erjo@3673 | 6 CATEGORY="meta" |
erjo@3673 | 7 SHORT_DESC="Automated inventory and deployement system." |
erjo@3673 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
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@3673 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
erjo@3673 | 13 DEPENDS="ocsinventory-server ocsinventory-agent ocsreports" |
erjo@3673 | 14 BUILD_DEPENDS="perl perl-dbd-mysql perl-apache-dbi perl-net-ip" |
jozee@4970 | 15 TAGS="system administration" |
erjo@3673 | 16 |
erjo@3673 | 17 |
erjo@3673 | 18 # Rules to configure and make the package. |
erjo@3673 | 19 compile_rules() |
erjo@3673 | 20 { |
erjo@3673 | 21 mv ${SOURCE}_${VERSION} $src 2> /dev/null |
erjo@3673 | 22 cd $src/Apache |
erjo@3673 | 23 perl Makefile.PL && |
erjo@3673 | 24 make && |
erjo@3673 | 25 make DESTDIR=$PWD/../_pkg install |
erjo@3673 | 26 } |
erjo@3673 | 27 |
erjo@3673 | 28 genpkg_rules() { |
erjo@3673 | 29 mkdir $fs/usr |
erjo@3673 | 30 |
erjo@3673 | 31 # cd $WOK |
erjo@3673 | 32 for i in $DEPENDS |
erjo@3673 | 33 do |
erjo@3673 | 34 tazwok cook $i |
erjo@3673 | 35 done |
erjo@3673 | 36 } |
erjo@3673 | 37 |
erjo@3673 | 38 |