wok-6.x diff phpvirtualbox/receipt @ rev 9054

amule: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 11:38:47 2011 +0100 (2011-03-04)
parents 5b1450e90bf6
children cca1658587e4
line diff
     1.1 --- a/phpvirtualbox/receipt	Mon Dec 20 14:58:13 2010 +0100
     1.2 +++ b/phpvirtualbox/receipt	Fri Mar 04 11:38:47 2011 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="phpvirtualbox"
     1.7 -VERSION="0.5"
     1.8 +VERSION="4.0-3"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Virtualbox AJAX interface."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -10,18 +10,12 @@
    1.13  WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL"
    1.14  DEPENDS="php-soap virtualbox"
    1.15  
    1.16 -# Rules to configure and make the package.
    1.17 -compile_rules()
    1.18 -{
    1.19 -	cd $src
    1.20 -}
    1.21 -
    1.22  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.23  genpkg_rules()
    1.24  {
    1.25  	mkdir -p $fs/usr/share $fs/etc
    1.26  	cp -a $src $fs/usr/share/phpvirtualbox
    1.27 -	mv $fs/usr/share/phpvirtualbox/config.php $fs/etc/phpvirtualbox.php
    1.28 +	cp -a $fs/usr/share/phpvirtualbox/config.php-example $fs/etc/phpvirtualbox.php
    1.29  	dos2unix $fs/etc/phpvirtualbox.php
    1.30  	ln -s /etc/phpvirtualbox.php $fs/usr/share/phpvirtualbox/config.php
    1.31  	cp -a stuff/* $fs/