1 |
commit: ac151b1c785b4fd50d4742433b0bdd53a8552984 |
2 |
Author: hwoarang <hwoarang <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 7 10:00:19 2011 +0000 |
4 |
Commit: Markos Chandras <hwoarang <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 7 10:00:19 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/hwoarang.git;a=commit;h=ac151b1c |
7 |
|
8 |
Initial commit of phpvirtualbox |
9 |
|
10 |
--- |
11 |
app-emulation/phpvirtualbox/Manifest | 3 + |
12 |
app-emulation/phpvirtualbox/metadata.xml | 12 +++++ |
13 |
.../phpvirtualbox/phpvirtualbox-4.1.2.ebuild | 50 ++++++++++++++++++++ |
14 |
3 files changed, 65 insertions(+), 0 deletions(-) |
15 |
|
16 |
diff --git a/app-emulation/phpvirtualbox/Manifest b/app-emulation/phpvirtualbox/Manifest |
17 |
new file mode 100644 |
18 |
index 0000000..0ba4e09 |
19 |
--- /dev/null |
20 |
+++ b/app-emulation/phpvirtualbox/Manifest |
21 |
@@ -0,0 +1,3 @@ |
22 |
+DIST phpvirtualbox-4.1-2.zip 2767426 RMD160 c4c52d0c1bf49dc0bc60acd9edef318026520565 SHA1 547e1f4e082e745b7e62f6d50fc7694bf50d9a01 SHA256 f98fd11baaf18cbdf4abd0d42c948f745c499729e53c973d26fe3a19bf2053cd |
23 |
+EBUILD phpvirtualbox-4.1.2.ebuild 1058 RMD160 f911e6581f9ceac8198dd20ff9a13ecc6e023137 SHA1 05b39cd99f513f6215ba85d5e73d0613cef7f72c SHA256 bcbb1855d192a301631241dfe3a793c745f177251e2df3f93d0ea04df4239220 |
24 |
+MISC metadata.xml 299 RMD160 2e104f9e93f7c11fa27c83226511c841e1a3dbd4 SHA1 25472cd164d586761a84c06a7b1506c6a33c03b7 SHA256 90f87a1654ecc810fd74a96670dee08373b74500e39e378ceb0d64a9c45c6dc5 |
25 |
|
26 |
diff --git a/app-emulation/phpvirtualbox/metadata.xml b/app-emulation/phpvirtualbox/metadata.xml |
27 |
new file mode 100644 |
28 |
index 0000000..87afd6e |
29 |
--- /dev/null |
30 |
+++ b/app-emulation/phpvirtualbox/metadata.xml |
31 |
@@ -0,0 +1,12 @@ |
32 |
+<?xml version="1.0" encoding="UTF-8"?> |
33 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
34 |
+<pkgmetadata> |
35 |
+<herd>no-herd</herd> |
36 |
+<maintainer> |
37 |
+<email>hwoarang@g.o</email> |
38 |
+<name>Markos Chandras</name> |
39 |
+</maintainer> |
40 |
+<longdescription lang="en"> |
41 |
+</longdescription> |
42 |
+</pkgmetadata> |
43 |
+ |
44 |
|
45 |
diff --git a/app-emulation/phpvirtualbox/phpvirtualbox-4.1.2.ebuild b/app-emulation/phpvirtualbox/phpvirtualbox-4.1.2.ebuild |
46 |
new file mode 100644 |
47 |
index 0000000..9a43208 |
48 |
--- /dev/null |
49 |
+++ b/app-emulation/phpvirtualbox/phpvirtualbox-4.1.2.ebuild |
50 |
@@ -0,0 +1,50 @@ |
51 |
+# Copyright 1999-2010 Gentoo Foundation |
52 |
+# Distributed under the terms of the GNU General Public License v2 |
53 |
+# $$ |
54 |
+ |
55 |
+EAPI="2" |
56 |
+ |
57 |
+inherit versionator eutils webapp depend.php |
58 |
+ |
59 |
+MY_PV="$(replace_version_separator 2 '-')" |
60 |
+MY_P="${PN}-${MY_PV}" |
61 |
+ |
62 |
+DESCRIPTION="Web-based administration for VirtualBox in PHP" |
63 |
+HOMEPAGE="http://phpvirtualbox.googlecode.com" |
64 |
+SRC_URI="http://${PN}.googlecode.com/files/${MY_P}.zip" |
65 |
+ |
66 |
+LICENSE="GPL-2" |
67 |
+KEYWORDS="~amd64 ~x86" |
68 |
+IUSE="" |
69 |
+ |
70 |
+RDEPEND=" |
71 |
+ dev-lang/php[session,unicode,soap,gd] |
72 |
+ >=app-emulation/virtualbox-4.1[vboxwebsrv] |
73 |
+" |
74 |
+DEPEND="app-arch/unzip" |
75 |
+ |
76 |
+need_php_httpd |
77 |
+ |
78 |
+src_install() { |
79 |
+ webapp_src_preinst |
80 |
+ |
81 |
+ cd ${MY_P} |
82 |
+ |
83 |
+ dodoc CHANGELOG.txt LICENSE.txt README.txt || die |
84 |
+ rm -f CHANGELOG.txt LICENSE.txt README.txt |
85 |
+ |
86 |
+ insinto "${MY_HTDOCSDIR}" |
87 |
+ doins -r . |
88 |
+ |
89 |
+ webapp_configfile "${MY_HTDOCSDIR}"/config.php-example |
90 |
+ webapp_serverowned "${MY_HTDOCSDIR}"/config.php-example |
91 |
+ |
92 |
+ webapp_src_install |
93 |
+} |
94 |
+ |
95 |
+pkg_postinst() { |
96 |
+ webapp_pkg_postinst |
97 |
+ elog "The vboxwebsrv-daemon must be running to use this interface:" |
98 |
+ elog " /etc/init.d/vboxwebsrv start" |
99 |
+} |
100 |
+ |