wok-next diff phpvirtualbox/receipt @ rev 21247

updated cyrus-imapd (2.4.17 -> 3.0.12)
author Hans-G?nter Theisgen
date Thu Dec 05 16:28:27 2019 +0100 (2019-12-05)
parents a3c581bf52b8
children
line diff
     1.1 --- a/phpvirtualbox/receipt	Fri Aug 10 12:53:17 2018 +0300
     1.2 +++ b/phpvirtualbox/receipt	Thu Dec 05 16:28:27 2019 +0100
     1.3 @@ -3,28 +3,25 @@
     1.4  PACKAGE="phpvirtualbox"
     1.5  VERSION="4.0-7"
     1.6  CATEGORY="network"
     1.7 -SHORT_DESC="Virtualbox AJAX interface."
     1.8 +SHORT_DESC="Virtualbox AJAX interface"
     1.9  MAINTAINER="pascal.bellard@slitaz.org"
    1.10  LICENSE="GPL3"
    1.11 +WEB_SITE="https://github.com/phpvirtualbox/phpvirtualbox"
    1.12 +
    1.13  TARBALL="$PACKAGE-$VERSION.zip"
    1.14 -WEB_SITE="https://github.com/phpvirtualbox/phpvirtualbox"
    1.15  WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL" # FIXME
    1.16  
    1.17 -DEPENDS="php-soap virtualbox"
    1.18 -
    1.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.20 -genpkg_rules()
    1.21 -{
    1.22 +genpkg_rules() {
    1.23  	mkdir -p $fs/usr/share $fs/etc
    1.24  	cp -a $src $fs/usr/share/phpvirtualbox
    1.25  	cp -a $fs/usr/share/phpvirtualbox/config.php-example $fs/etc/phpvirtualbox.php
    1.26  	dos2unix $fs/etc/phpvirtualbox.php
    1.27  	ln -s /etc/phpvirtualbox.php $fs/usr/share/phpvirtualbox/config.php
    1.28 -	cp -a stuff/* $fs/
    1.29 +	cp -a $stuff/* $fs/
    1.30 +	DEPENDS="php-soap virtualbox"
    1.31  }
    1.32  
    1.33 -post_install()
    1.34 -{
    1.35 +post_install() {
    1.36  	# Virtualbox OSE needs to disable authenication for vboxwebsrv
    1.37  	[ -d "$1/var/lib/tazpkg/installed/virtualbox" ] ||
    1.38  	chroot "$1/" VBoxManage setproperty websrvauthlibrary null 
    1.39 @@ -63,12 +60,15 @@
    1.40  		fi
    1.41  	fi
    1.42  	[ -z "$1" ] && /etc/init.d/vboxwebsrv start
    1.43 -	cat <<EOT
    1.44 -Please configure /etc/phpvirtualbox.php now.
    1.45 +
    1.46 +	[ -n "$quiet" ] || cat <<EOT
    1.47 +
    1.48 +	.----------------------------------------------.
    1.49 +	| Please configure /etc/phpvirtualbox.php now. |
    1.50 +	'----------------------------------------------'
    1.51  EOT
    1.52  }
    1.53  
    1.54 -pre_remove()
    1.55 -{
    1.56 +pre_remove() {
    1.57  	/etc/init.d/vboxwebsrv stop
    1.58  }