summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2005-02-11 07:14:23 +0000
committerDoug Goldstein <cardoe@gentoo.org>2005-02-11 07:14:23 +0000
commite803332e0ba97ca20fd7bf82532ddd1d88151a0d (patch)
tree3a66c3cf3b3c8fef8b60572c5292a46d995b599f /www-apps/mythweb/mythweb-0.17.ebuild
parentUpdated SRC_URI and HOMEPAGE. Removed old ebuild. (diff)
downloadgentoo-2-e803332e0ba97ca20fd7bf82532ddd1d88151a0d.tar.gz
gentoo-2-e803332e0ba97ca20fd7bf82532ddd1d88151a0d.tar.bz2
gentoo-2-e803332e0ba97ca20fd7bf82532ddd1d88151a0d.zip
revision bump... lots of new features and fixes
(Portage version: 2.0.51.16)
Diffstat (limited to 'www-apps/mythweb/mythweb-0.17.ebuild')
-rw-r--r--www-apps/mythweb/mythweb-0.17.ebuild48
1 files changed, 48 insertions, 0 deletions
diff --git a/www-apps/mythweb/mythweb-0.17.ebuild b/www-apps/mythweb/mythweb-0.17.ebuild
new file mode 100644
index 000000000000..b277895770cc
--- /dev/null
+++ b/www-apps/mythweb/mythweb-0.17.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/mythweb/mythweb-0.17.ebuild,v 1.1 2005/02/11 07:14:23 cardoe Exp $
+
+inherit webapp
+
+DESCRIPTION="PHP scripts intended to manage MythTV from a web browser."
+HOMEPAGE="http://www.mythtv.org/"
+SRC_URI="http://www.mythtv.org/mc/${P}.tar.bz2"
+IUSE=""
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~amd64"
+
+RDEPEND=">=dev-php/mod_php-4.2"
+
+pkg_setup() {
+ webapp_pkg_setup
+
+ if has_version \>=dev-php/mod_php-5 ; then
+ local modphp_use="$(</var/db/pkg/`best_version =dev-php/mod_php`/USE)"
+ if ! has session ${modphp_use} ; then
+ eerror "mod_php is missing session support. Please add"
+ eerror "'session' to your USE flags, and re-emerge mod_php and php."
+ die "mod_php needs session support"
+ fi
+ fi
+}
+
+src_install() {
+ webapp_src_preinst
+
+ dodoc README TODO
+
+ keepdir ${MY_HTDOCSDIR}/video_dir
+ keepdir ${MY_HTDOCSDIR}/image_cache
+ keepdir ${MY_HTDOCSDIR}/php_sessions
+
+ cp -R [[:lower:]]* .htaccess ${D}${MY_HTDOCSDIR}
+
+ webapp_serverowned ${MY_HTDOCSDIR}/video_dir
+ webapp_serverowned ${MY_HTDOCSDIR}/image_cache
+ webapp_serverowned ${MY_HTDOCSDIR}/php_sessions
+
+ webapp_configfile ${MY_HTDOCSDIR}/config/conf.php
+ webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt
+
+ webapp_src_install
+}