-
Notifications
You must be signed in to change notification settings - Fork 2
/
mythweb-0.22_p22763-r3.ebuild
63 lines (47 loc) · 1.39 KB
/
mythweb-0.22_p22763-r3.ebuild
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#mythweb-0.22_p22763-path-list.patchh Copyrighr 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-apps/mythweb/mythweb-0.22_p22763-r1.ebuild,v 1.6 2010/05/11 20:49:07 josejx 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-perl/DBI
dev-perl/DBD-mysql
dev-perl/Net-UPnP"
DEPEND="${RDEPEND}
app-arch/unzip"
need_httpd_cgi
need_php5_httpd
pkg_setup() {
webapp_pkg_setup
require_php_with_use session mysql pcre posix json spl
}
src_prepare() {
epatch "${FILESDIR}/${P}-ao-click.patch"
#epatch "${FILESDIR}/${PN}-video-streaming.patch"
epatch "${FILESDIR}/${P}-carppout-debug.patch"
epatch "${FILESDIR}/${P}-mp4-streaming.patch"
epatch "${FILESDIR}/${P}-path-list.patch"
epatch "${FILESDIR}/${P}-tmpl-error.patch"
epatch "${FILESDIR}/${P}-myth-video-streaming.patch"
}
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}
hmythweb-0.22_p22763-path-list.patch
webapp_serverowned "${MY_HTDOCSDIR}"/data
webapp_postinst_txt en "${FILESDIR}"/postinstall-en-0.21.txt
webapp_src_install
}