summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2012-05-22 11:21:13 +0000
committerLars Wendler <polynomial-c@gentoo.org>2012-05-22 11:21:13 +0000
commitdcecbeadcef11416bab94ca5cebdd2006e9b7984 (patch)
treeb59bfd10f831f3e6b46d2c7327814e1fd55999cf /dev-libs/xmlrpc-epi
parentStable for amd64, wrt bug #376391 (diff)
downloadgentoo-2-dcecbeadcef11416bab94ca5cebdd2006e9b7984.tar.gz
gentoo-2-dcecbeadcef11416bab94ca5cebdd2006e9b7984.tar.bz2
gentoo-2-dcecbeadcef11416bab94ca5cebdd2006e9b7984.zip
Version bump (bug #407047)
(Portage version: 2.2.0_alpha107/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/xmlrpc-epi')
-rw-r--r--dev-libs/xmlrpc-epi/ChangeLog11
-rw-r--r--dev-libs/xmlrpc-epi/xmlrpc-epi-0.54.2.ebuild52
2 files changed, 61 insertions, 2 deletions
diff --git a/dev-libs/xmlrpc-epi/ChangeLog b/dev-libs/xmlrpc-epi/ChangeLog
index c3993ed54e61..b13604a3c143 100644
--- a/dev-libs/xmlrpc-epi/ChangeLog
+++ b/dev-libs/xmlrpc-epi/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-libs/xmlrpc-epi
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-epi/ChangeLog,v 1.7 2009/10/27 10:49:17 ssuominen Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-epi/ChangeLog,v 1.8 2012/05/22 11:21:13 polynomial-c Exp $
+
+*xmlrpc-epi-0.54.2 (22 May 2012)
+
+ 22 May 2012; Lars Wendler <polynomial-c@gentoo.org>
+ +xmlrpc-epi-0.54.2.ebuild:
+ Non-maintainer commit: Version bump. Thanks to Scott Duffey for reporting
+ this in bug #407047.
27 Oct 2009; Samuli Suominen <ssuominen@gentoo.org>
xmlrpc-epi-0.54-r1.ebuild:
diff --git a/dev-libs/xmlrpc-epi/xmlrpc-epi-0.54.2.ebuild b/dev-libs/xmlrpc-epi/xmlrpc-epi-0.54.2.ebuild
new file mode 100644
index 000000000000..147db24083da
--- /dev/null
+++ b/dev-libs/xmlrpc-epi/xmlrpc-epi-0.54.2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-epi/xmlrpc-epi-0.54.2.ebuild,v 1.1 2012/05/22 11:21:13 polynomial-c Exp $
+
+EAPI="2"
+
+inherit multilib
+
+DESCRIPTION="Epinions implementation of XML-RPC protocol in C"
+HOMEPAGE="http://xmlrpc-epi.sourceforge.net/"
+SRC_URI="mirror://sourceforge/xmlrpc-epi/${P}.tar.bz2"
+
+LICENSE="Epinions"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="examples static-libs"
+
+DEPEND="dev-libs/expat"
+RDEPEND="${DEPEND}"
+
+# NOTES:
+# to prevent conflict with xmlrpc-c, headers are installed in
+# /usr/include/${PN} instead of /usr/include (bug 274291)
+
+src_prepare() {
+ # do not build examples
+ sed -i -e "s:sample::" Makefile.in || die "sed failed"
+}
+
+src_configure() {
+ econf \
+ --includedir=/usr/include/${PN} \
+ --disable-dependency-tracking \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ if ! use static-libs; then
+ # remove useless la files
+ rm "${D}"/usr/$(get_libdir)/lib${PN}.la || die "rm failed"
+ fi
+
+ dodoc AUTHORS ChangeLog NEWS README || die "dodoc failed"
+
+ if use examples; then
+ insinto "/usr/share/doc/${PF}/examples"
+ doins sample/*.c sample/*.php || die "doins failed"
+ doins -r sample/tests || die "doins failed"
+ fi
+}