blob: 7e902ce3b227268963a998235616f33e8a22ac16 (
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
41
42
43
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-php/phpxmlrpc/phpxmlrpc-1.2-r1.ebuild,v 1.4 2005/08/26 16:59:07 agriffis Exp $
inherit php-lib eutils
MY_PN="xmlrpc"
MY_P="${MY_PN}_${PV}"
S="${WORKDIR}/${MY_P}"
DESCRIPTION="PHP implementation of the XML-RPC web RPC protocol"
HOMEPAGE="http://phpxmlrpc.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${MY_P/_/.}.tgz"
RESTRICT="nomirror"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ia64 ppc sparc x86"
IUSE=""
DEPEND=""
RDEPEND=">=virtual/php-4.0.5
app-text/openjade
app-text/docbook-dsssl-stylesheets"
src_unpack() {
unpack ${A}
cd ${S}
# patch to fix the jade document creation
epatch ${FILESDIR}/${P}-gentoo.patch
}
src_install() {
# install php files
php-lib_src_install . xmlrpc.inc xmlrpcs.inc
# Install docs and demos
dodoc README
dohtml doc/*.html
dodir /usr/share/${PN}
cp *.fttb *.pem *.php *.pl *.py *.txt ${D}/usr/share/${PN}/
}
|