diff options
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/serf/ChangeLog | 10 | ||||
-rw-r--r-- | net-libs/serf/files/serf-0.3.0-disable-unneeded-linking.patch | 11 | ||||
-rw-r--r-- | net-libs/serf/serf-0.3.0.ebuild | 41 |
3 files changed, 60 insertions, 2 deletions
diff --git a/net-libs/serf/ChangeLog b/net-libs/serf/ChangeLog index a48793297e71..d81e587cbb21 100644 --- a/net-libs/serf/ChangeLog +++ b/net-libs/serf/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-libs/serf -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/serf/ChangeLog,v 1.16 2008/11/12 16:03:04 pva Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/serf/ChangeLog,v 1.17 2009/03/21 21:18:38 arfrever Exp $ + +*serf-0.3.0 (21 Mar 2009) + + 21 Mar 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +files/serf-0.3.0-disable-unneeded-linking.patch, +serf-0.3.0.ebuild: + Version bump (bug #260631). 12 Nov 2008; Peter Volkov <pva@gentoo.org> serf-0.2.0.ebuild: Added ~mips, bug #212056. diff --git a/net-libs/serf/files/serf-0.3.0-disable-unneeded-linking.patch b/net-libs/serf/files/serf-0.3.0-disable-unneeded-linking.patch new file mode 100644 index 000000000000..c7235b035ac8 --- /dev/null +++ b/net-libs/serf/files/serf-0.3.0-disable-unneeded-linking.patch @@ -0,0 +1,11 @@ +--- configure.in ++++ configure.in +@@ -171,7 +171,7 @@ + dnl CuTest requires libm on Solaris + AC_SEARCH_LIBS(fabs, m) + +-libs="`$apu_config --link-libtool --libs` `$apr_config --link-libtool --libs` $LIBS" ++libs="`$apu_config --link-ld` `$apr_config --link-ld` $LIBS" + APR_ADDTO(SERF_LIBS, [$libs]) + AC_SUBST(SERF_LIBS) + diff --git a/net-libs/serf/serf-0.3.0.ebuild b/net-libs/serf/serf-0.3.0.ebuild new file mode 100644 index 000000000000..e3e6854ff288 --- /dev/null +++ b/net-libs/serf/serf-0.3.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/serf/serf-0.3.0.ebuild,v 1.1 2009/03/21 21:18:38 arfrever Exp $ + +inherit autotools eutils + +DESCRIPTION="HTTP client library" +HOMEPAGE="http://code.google.com/p/serf/" +SRC_URI="http://serf.googlecode.com/files/${P}.tar.bz2" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" +IUSE="" + +DEPEND="dev-libs/apr + dev-libs/apr-util + dev-libs/openssl + sys-libs/zlib" +RDEPEND="${DEPEND}" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${P}-disable-unneeded-linking.patch + eautoreconf +} + +src_compile() { + econf \ + --with-apr=/usr/bin/apr-1-config \ + --with-apr-util=/usr/bin/apu-1-config \ + --with-openssl=/usr + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc CHANGES README +} |