You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/www-apps/mythweb/mythweb-0.23.1_p25396.ebuild

53 lines
1.0 KiB

# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-apps/mythweb/mythweb-0.23.1_p25396.ebuild,v 1.2 2011/07/08 16:55:19 cardoe Exp $
EAPI=2
inherit mythtv webapp depend.php
DESCRIPTION="PHP scripts intended to manage MythTV from a web browser."
IUSE=""
KEYWORDS="amd64 ~ppc x86"
RDEPEND="dev-lang/php[json,mysql,session,posix]
|| ( <dev-lang/php-5.3[spl,pcre] >=dev-lang/php-5.3 )
dev-perl/DBI
dev-perl/DBD-mysql
dev-perl/Net-UPnP"
DEPEND="${RDEPEND}
app-arch/unzip"
need_httpd_cgi
need_php5_httpd
src_configure() {
:
}
src_compile() {
:
}
src_install() {
webapp_src_preinst
cd "${S}"/mythweb
dodoc README INSTALL
dodir "${MY_HTDOCSDIR}"/data
insinto "${MY_HTDOCSDIR}"
doins -r [[:lower:]]*
webapp_configfile "${MY_HTDOCSDIR}"/mythweb.conf.{apache,lighttpd}
webapp_serverowned "${MY_HTDOCSDIR}"/data
webapp_postinst_txt en "${FILESDIR}"/postinstall-en-0.21.txt
webapp_src_install
fperms 755 /usr/share/webapps/mythweb/${PV}/htdocs/mythweb.pl
}