summaryrefslogtreecommitdiff
blob: df7d73c20c2d0414c0df5f5d3703629d5c95b09d (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxr/libxr-1.0.ebuild,v 1.1 2010/01/04 22:26:12 flameeyes Exp $

DESCRIPTION="Cross-platform XML-RPC client/server library written in C"
HOMEPAGE="http://oss.zonio.net/libxr.htm"
SRC_URI="http://oss.zonio.net/releases/libxr/${P}.tar.bz2"

LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE=""
# IUSE="json"

RDEPEND=">=dev-libs/glib-2.12
		 >=dev-libs/libxml2-2.6.20
		 dev-libs/openssl"
#		 json? ( >=dev-libs/json-c-0.3 )"
DEPEND="${RDEPEND}
		dev-util/pkgconfig
		dev-util/re2c"

src_compile() {
	econf --without-json || die
	emake || die
}

src_install() {
	emake DESTDIR="$D" install || die
}