diff options
author | 2008-04-22 18:38:49 +0000 | |
---|---|---|
committer | 2008-04-22 18:38:49 +0000 | |
commit | 21eea12cff4378c0b658ea711709ba08adcb2557 (patch) | |
tree | 5692ec9e7a67988fe9a89acd1380cf149d9c16fa /dev-libs/xmlrpc-c | |
parent | Remove old version (diff) | |
download | gentoo-2-21eea12cff4378c0b658ea711709ba08adcb2557.tar.gz gentoo-2-21eea12cff4378c0b658ea711709ba08adcb2557.tar.bz2 gentoo-2-21eea12cff4378c0b658ea711709ba08adcb2557.zip |
rev bump to bump EAPI so everything builds properly with default USE flags
(Portage version: 2.1.5_rc6)
Diffstat (limited to 'dev-libs/xmlrpc-c')
-rw-r--r-- | dev-libs/xmlrpc-c/ChangeLog | 8 | ||||
-rw-r--r-- | dev-libs/xmlrpc-c/xmlrpc-c-1.06.09-r2.ebuild | 61 |
2 files changed, 68 insertions, 1 deletions
diff --git a/dev-libs/xmlrpc-c/ChangeLog b/dev-libs/xmlrpc-c/ChangeLog index fb3a7e6abf3d..fb04dbd30658 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.45 2008/04/21 16:19:53 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/ChangeLog,v 1.46 2008/04/22 18:38:49 cardoe Exp $ + +*xmlrpc-c-1.06.09-r2 (22 Apr 2008) + + 22 Apr 2008; Doug Goldstein <cardoe@gentoo.org> + +xmlrpc-c-1.06.09-r2.ebuild: + rev bump to bump EAPI so everything builds properly with default USE flags 21 Apr 2008; Diego Pettenò <flameeyes@gentoo.org> +files/xmlrpc-c-1.06.09+curl-7.18.patch, xmlrpc-c-1.06.09-r1.ebuild: diff --git a/dev-libs/xmlrpc-c/xmlrpc-c-1.06.09-r2.ebuild b/dev-libs/xmlrpc-c/xmlrpc-c-1.06.09-r2.ebuild new file mode 100644 index 000000000000..7d0fa1e8f9e1 --- /dev/null +++ b/dev-libs/xmlrpc-c/xmlrpc-c-1.06.09-r2.ebuild @@ -0,0 +1,61 @@ +# 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.06.09-r2.ebuild,v 1.1 2008/04/22 18:38:49 cardoe Exp $ + +EAPI=1 + +inherit eutils + +DESCRIPTION="A lightweigt RPC library based on XML and HTTP" +SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" +HOMEPAGE="http://xmlrpc-c.sourceforge.net/" + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" +IUSE="+curl libwww threads" +LICENSE="BSD" +SLOT="0" + +DEPEND="dev-libs/libxml2 + libwww? ( net-libs/libwww + >=dev-libs/openssl-0.9.8g ) + curl? ( net-misc/curl )" + +pkg_setup() { + if ! use curl && ! use libwww; then + ewarn "Neither CURL nor libwww support was selected" + ewarn "No client library will be be built" + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${PN}-1.05-pic.patch + epatch "${FILESDIR}"/${PN}-1.06.02-threadupdatestatus.patch + epatch "${FILESDIR}"/${P}-strsol.patch + epatch "${FILESDIR}"/${PN}-gcc43.patch + epatch "${FILESDIR}"/${P}-asneeded.patch + epatch "${FILESDIR}"/${P}+curl-7.18.patch + + # Respect the user's CFLAGS/CXXFLAGS. + sed -i -e "/CFLAGS_COMMON/s:-g -O3$:${CFLAGS}:" Makefile.common + sed -i -e "/CXXFLAGS_COMMON/s:-g$:${CXXFLAGS}:" Makefile.common +} + +src_compile() { + # Respect the user's LDFLAGS. + export LADD=${LDFLAGS} + econf --disable-wininet-client --enable-libxml2-backend \ + $(use_enable threads abyss-threads) \ + $(use_enable curl curl-client) \ + $(use_enable libwww libwww-client) || die "econf failed" + emake -j1 || die "emake failed" +} + +src_install() { + 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" +} |