blob: 48d5b4c942d6928605e1dd981c13fb4de9347cc1 (
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
40
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-apps/phpmp2/phpmp2-0.11.0.ebuild,v 1.4 2006/01/10 02:47:33 rl03 Exp $
inherit webapp
MY_PN=${PN/m/M}
DESCRIPTION="phpMp2 is another web-based client for MPD"
HOMEPAGE="http://musicpd.org/phpMp2.shtml"
SRC_URI="http://mercury.chem.pitt.edu/~shank/${MY_PN}-${PV}.tar.bz2"
LICENSE="GPL-2"
KEYWORDS="~ppc ~sparc ~x86"
S=${WORKDIR}/${MY_PN}
IUSE="gd"
RDEPEND="
virtual/php
gd? ( media-libs/gd )
net-www/apache"
src_unpack() {
unpack ${A}
cd ${S}
# remove SVN directories
find . -type d -name '.svn' -print | xargs rm -rf
}
src_install () {
webapp_src_preinst
dodoc README TODO
cp -R . ${D}/${MY_HTDOCSDIR}
webapp_serverowned "${MY_HTDOCSDIR}/config.php"
webapp_configfile "${MY_HTDOCSDIR}/config.php"
webapp_src_install
}
|