wok-6.x rev 8772

Up: phpvirtualbox to 4.0-3.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Feb 21 17:03:04 2011 +0000 (2011-02-21)
parents d99f567dd3b3
children 809ffd3c9ff1
files phpvirtualbox/receipt
line diff
     1.1 --- a/phpvirtualbox/receipt	Mon Feb 21 07:24:20 2011 +0000
     1.2 +++ b/phpvirtualbox/receipt	Mon Feb 21 17:03:04 2011 +0000
     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/