summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhwoarang <hwoarang@gentoo.org>2011-09-07 13:00:19 +0300
committerhwoarang <hwoarang@gentoo.org>2011-09-07 13:00:19 +0300
commitac151b1c785b4fd50d4742433b0bdd53a8552984 (patch)
tree722ac97656ee160c05b7ba519f9cd0f71b5e96c2
parentdibbler: Version bump to 0.8.0 (diff)
downloadhwoarang-ac151b1c785b4fd50d4742433b0bdd53a8552984.tar.gz
hwoarang-ac151b1c785b4fd50d4742433b0bdd53a8552984.tar.bz2
hwoarang-ac151b1c785b4fd50d4742433b0bdd53a8552984.zip
Initial commit of phpvirtualbox
-rw-r--r--app-emulation/phpvirtualbox/Manifest3
-rw-r--r--app-emulation/phpvirtualbox/metadata.xml12
-rw-r--r--app-emulation/phpvirtualbox/phpvirtualbox-4.1.2.ebuild50
3 files changed, 65 insertions, 0 deletions
diff --git a/app-emulation/phpvirtualbox/Manifest b/app-emulation/phpvirtualbox/Manifest
new file mode 100644
index 0000000..0ba4e09
--- /dev/null
+++ b/app-emulation/phpvirtualbox/Manifest
@@ -0,0 +1,3 @@
+DIST phpvirtualbox-4.1-2.zip 2767426 RMD160 c4c52d0c1bf49dc0bc60acd9edef318026520565 SHA1 547e1f4e082e745b7e62f6d50fc7694bf50d9a01 SHA256 f98fd11baaf18cbdf4abd0d42c948f745c499729e53c973d26fe3a19bf2053cd
+EBUILD phpvirtualbox-4.1.2.ebuild 1058 RMD160 f911e6581f9ceac8198dd20ff9a13ecc6e023137 SHA1 05b39cd99f513f6215ba85d5e73d0613cef7f72c SHA256 bcbb1855d192a301631241dfe3a793c745f177251e2df3f93d0ea04df4239220
+MISC metadata.xml 299 RMD160 2e104f9e93f7c11fa27c83226511c841e1a3dbd4 SHA1 25472cd164d586761a84c06a7b1506c6a33c03b7 SHA256 90f87a1654ecc810fd74a96670dee08373b74500e39e378ceb0d64a9c45c6dc5
diff --git a/app-emulation/phpvirtualbox/metadata.xml b/app-emulation/phpvirtualbox/metadata.xml
new file mode 100644
index 0000000..87afd6e
--- /dev/null
+++ b/app-emulation/phpvirtualbox/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+<email>hwoarang@gentoo.org</email>
+<name>Markos Chandras</name>
+</maintainer>
+<longdescription lang="en">
+</longdescription>
+</pkgmetadata>
+
diff --git a/app-emulation/phpvirtualbox/phpvirtualbox-4.1.2.ebuild b/app-emulation/phpvirtualbox/phpvirtualbox-4.1.2.ebuild
new file mode 100644
index 0000000..9a43208
--- /dev/null
+++ b/app-emulation/phpvirtualbox/phpvirtualbox-4.1.2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $$
+
+EAPI="2"
+
+inherit versionator eutils webapp depend.php
+
+MY_PV="$(replace_version_separator 2 '-')"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="Web-based administration for VirtualBox in PHP"
+HOMEPAGE="http://phpvirtualbox.googlecode.com"
+SRC_URI="http://${PN}.googlecode.com/files/${MY_P}.zip"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ dev-lang/php[session,unicode,soap,gd]
+ >=app-emulation/virtualbox-4.1[vboxwebsrv]
+"
+DEPEND="app-arch/unzip"
+
+need_php_httpd
+
+src_install() {
+ webapp_src_preinst
+
+ cd ${MY_P}
+
+ dodoc CHANGELOG.txt LICENSE.txt README.txt || die
+ rm -f CHANGELOG.txt LICENSE.txt README.txt
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+
+ webapp_configfile "${MY_HTDOCSDIR}"/config.php-example
+ webapp_serverowned "${MY_HTDOCSDIR}"/config.php-example
+
+ webapp_src_install
+}
+
+pkg_postinst() {
+ webapp_pkg_postinst
+ elog "The vboxwebsrv-daemon must be running to use this interface:"
+ elog " /etc/init.d/vboxwebsrv start"
+}
+