summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2008-07-20 20:18:18 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2008-07-20 20:18:18 +0000
commitd966aa280fd46911adc4c58b1ffea68efce6cd4b (patch)
treeefda6f2ec3d5cdf50e4e836f22bef39736612a1f /dev-libs/xmlrpc-c
parentInclude 1.15.02 in xmlrpc-c experimental mask (diff)
downloadgentoo-2-d966aa280fd46911adc4c58b1ffea68efce6cd4b.tar.gz
gentoo-2-d966aa280fd46911adc4c58b1ffea68efce6cd4b.tar.bz2
gentoo-2-d966aa280fd46911adc4c58b1ffea68efce6cd4b.zip
Bump
(Portage version: 2.2_rc1/cvs/Linux 2.6.25.8 i686)
Diffstat (limited to 'dev-libs/xmlrpc-c')
-rw-r--r--dev-libs/xmlrpc-c/ChangeLog8
-rw-r--r--dev-libs/xmlrpc-c/xmlrpc-c-1.15.02.ebuild84
2 files changed, 91 insertions, 1 deletions
diff --git a/dev-libs/xmlrpc-c/ChangeLog b/dev-libs/xmlrpc-c/ChangeLog
index 1699dd140cad..6afcc5ed57aa 100644
--- a/dev-libs/xmlrpc-c/ChangeLog
+++ b/dev-libs/xmlrpc-c/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/xmlrpc-c
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/ChangeLog,v 1.59 2008/06/15 16:00:19 loki_val Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/ChangeLog,v 1.60 2008/07/20 20:18:18 loki_val Exp $
+
+*xmlrpc-c-1.15.02 (20 Jul 2008)
+
+ 20 Jul 2008; Peter Alfredsen <loki_val@gentoo.org>
+ +xmlrpc-c-1.15.02.ebuild:
+ Bump
15 Jun 2008; Peter Alfredsen <loki_val@gentoo.org>
+files/xmlrpc-c-1.14.07-abyss-disable.patch, xmlrpc-c-1.14.07.ebuild:
diff --git a/dev-libs/xmlrpc-c/xmlrpc-c-1.15.02.ebuild b/dev-libs/xmlrpc-c/xmlrpc-c-1.15.02.ebuild
new file mode 100644
index 000000000000..9bffd6184828
--- /dev/null
+++ b/dev-libs/xmlrpc-c/xmlrpc-c-1.15.02.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/xmlrpc-c-1.15.02.ebuild,v 1.1 2008/07/20 20:18:18 loki_val Exp $
+
+EAPI=1
+
+inherit eutils autotools base
+
+DESCRIPTION="A lightweigt RPC library based on XML and HTTP"
+SRC_URI="mirror://gentoo/${PN}/${P}.tar.bz2"
+HOMEPAGE="http://xmlrpc-c.sourceforge.net/"
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
+IUSE="+curl"
+LICENSE="BSD"
+SLOT="0"
+
+DEPEND="dev-libs/libxml2
+ curl? ( net-misc/curl )"
+
+pkg_setup() {
+ if ! use curl
+ then
+ ewarn "Curl support disabled: No client library will be be built"
+ fi
+}
+
+#FAIL
+RESTRICT="test"
+
+PATCHES=( "${FILESDIR}/${PN}-1.14.07-abyss-disable.patch" )
+
+src_unpack() {
+ base_src_unpack
+ cd "${S}"
+
+ # Respect the user's CFLAGS/CXXFLAGS.
+ sed -i \
+ -e "/CFLAGS_COMMON/s:-g -O3$:${CFLAGS}:" \
+ -e "/CXXFLAGS_COMMON/s:-g$:${CXXFLAGS}:" \
+ "${S}"/common.mk || die "404. File not found while sedding"
+ eautoreconf
+}
+
+src_compile() {
+ #Bug 214137: We need to filter this.
+ unset SRCDIR
+
+ # Respect the user's LDFLAGS.
+ export LADD=${LDFLAGS}
+ econf --disable-wininet-client \
+ --enable-libxml2-backend \
+ --disable-libwww-client \
+ --disable-abyss-server \
+ --enable-cgi-server \
+ --disable-abyss-threads \
+ --enable-cplusplus \
+ $(use_enable curl curl-client) \
+ || die "econf failed"
+ emake -j1 || die "emake failed"
+}
+
+src_test() {
+ unset LDFLAGS LADD SRCDIR
+ cd "${S}"/src/test/
+ einfo "Building general tests"
+ make || die "Make of general tests failed"
+ einfo "Running general tests"
+ ./test || die "General tests failed"
+
+ cd "${S}"/src/cpp/test
+ einfo "Building C++ tests"
+ make || die "Make of C++ tests failed"
+ einfo "Running C++ tests"
+ ./test || die "C++ tests failed"
+}
+
+src_install() {
+ unset SRCDIR
+ emake -j1 DESTDIR="${D}" install || die "installation failed"
+
+ dodoc README doc/CREDITS doc/DEVELOPING doc/HISTORY doc/SECURITY doc/TESTING \
+ doc/TODO || die "installing docs failed"
+}