blob: 5158868adddd98536b9d9f52986e5afd4f6739bc (
plain)
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
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit webapp depend.php
DESCRIPTION="amaroK Web Frontend"
HOMEPAGE="http://amarokwebfront.sourceforge.net/"
SRC_URI="mirror://sourceforge/amarokwebfront/${P}.tar.bz2"
KEYWORDS=""
LICENSE="GPL-2"
IUSE="mysql postgres"
DEPEND="dev-lang/php[mysql?,postgres?]"
RDEPEND="${DEPEND}"
S=${WORKDIR}/${PN}
need_php
src_install() {
webapp_src_preinst
local docs="README CHANGELOG"
dodoc ${docs} || die "dodoc failed"
rm -f ${docs} DISCLAIMER INSTALL LICENSE obsidianmusic.kateprj
rm -r daemon
insinto "${MY_HTDOCSDIR}"
doins -r . || die "doins failed"
webapp_serverowned "${MY_HTDOCSDIR}"/inc/cache
webapp_configfile "${MY_HTDOCSDIR}"/inc/config.php
webapp_configfile "${MY_HTDOCSDIR}"/inc/auth.users.php
webapp_src_install
}
|