summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2008-04-30 19:12:06 +0000
committerBenedikt Boehm <hollow@gentoo.org>2008-04-30 19:12:06 +0000
commit7b2d10c3b1a7a1101e79c5927a3755b417d90288 (patch)
tree6c3891580443bf6ab7462c0b1176a8523c0999bd /net-libs/serf
parentPatch to fix building with gcc-4.3 from Martin Väth, bug #218937 (diff)
downloadgentoo-2-7b2d10c3b1a7a1101e79c5927a3755b417d90288.tar.gz
gentoo-2-7b2d10c3b1a7a1101e79c5927a3755b417d90288.tar.bz2
gentoo-2-7b2d10c3b1a7a1101e79c5927a3755b417d90288.zip
initial ebuild, bug #219391
(Portage version: 2.1.5_rc6)
Diffstat (limited to 'net-libs/serf')
-rw-r--r--net-libs/serf/ChangeLog11
-rw-r--r--net-libs/serf/Manifest5
-rw-r--r--net-libs/serf/files/0.1.2-disable-unneeded-linking.patch11
-rw-r--r--net-libs/serf/metadata.xml5
-rw-r--r--net-libs/serf/serf-0.1.2.ebuild41
5 files changed, 73 insertions, 0 deletions
diff --git a/net-libs/serf/ChangeLog b/net-libs/serf/ChangeLog
new file mode 100644
index 000000000000..d3ab1174605a
--- /dev/null
+++ b/net-libs/serf/ChangeLog
@@ -0,0 +1,11 @@
+# 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.1 2008/04/30 19:12:06 hollow Exp $
+
+*serf-0.1.2 (30 Apr 2008)
+
+ 30 Apr 2008; Benedikt Böhm <hollow@gentoo.org>
+ +files/0.1.2-disable-unneeded-linking.patch, +metadata.xml,
+ +serf-0.1.2.ebuild:
+ initial ebuild, bug #219391
+
diff --git a/net-libs/serf/Manifest b/net-libs/serf/Manifest
new file mode 100644
index 000000000000..6c89fca3818b
--- /dev/null
+++ b/net-libs/serf/Manifest
@@ -0,0 +1,5 @@
+AUX 0.1.2-disable-unneeded-linking.patch 374 RMD160 370285bd4b41a625f0e7ac44af149007f46463b9 SHA1 c4f1cc189fcbf6036731c5c98fd6d56c7d932949 SHA256 74e7023c01b1a69c443fa968ecced9135f7e4985269c958d4bfff9f70ad66b22
+DIST serf-0.1.2.tar.bz2 117871 RMD160 9f9081832c4e39a0c0ff3c28712e5425eeca5626 SHA1 d6ae7ab7479c2e8cd28428bb980bd6c27d3e8589 SHA256 44c852c9135914b85c7a1f36ef41f88c63de52faab98493a6e59008b7060f89c
+EBUILD serf-0.1.2.ebuild 810 RMD160 386c2391fd19e1a9c387498189cd4b5d174b582f SHA1 07947b990aad1bf52259029f8484acbf0a2a81ae SHA256 4b601c1fd0658f9db2c75d970ac2b0268989098286676d270ec48cd43b3c1ae1
+MISC ChangeLog 306 RMD160 bead12dbdd3cd3e16b1f4c29dcc2b7209c097271 SHA1 1cbaff19ffa1ee6a5a3487f509709c561755975f SHA256 0ed906ae23e09af06f6d743660639bc784311a353acbea1b7569e2dfd0dc23ea
+MISC metadata.xml 160 RMD160 240273746cb67ab6abe1d0e698a5cf7b7626a258 SHA1 80b70eafde229338d99cdff3fa073c7c93667984 SHA256 e72023a15757f005adbf91e37551e61a321b706d5b01586e164c12975f902515
diff --git a/net-libs/serf/files/0.1.2-disable-unneeded-linking.patch b/net-libs/serf/files/0.1.2-disable-unneeded-linking.patch
new file mode 100644
index 000000000000..4c3af29560e7
--- /dev/null
+++ b/net-libs/serf/files/0.1.2-disable-unneeded-linking.patch
@@ -0,0 +1,11 @@
+--- configure.in
++++ configure.in
+@@ -160,7 +160,7 @@
+ AC_CHECK_HEADER([openssl/opensslv.h], [],
+ [AC_MSG_ERROR([We require OpenSSL; try --with-openssl])])
+
+-libs="`$apu_config --link-libtool --libs` `$apr_config --link-libtool --libs`"
++libs="`$apu_config --link-libtool` `$apr_config --link-libtool`"
+ APR_ADDTO(SERF_LIBS, [$libs])
+ AC_SUBST(SERF_LIBS)
+
diff --git a/net-libs/serf/metadata.xml b/net-libs/serf/metadata.xml
new file mode 100644
index 000000000000..8c7b2db5408e
--- /dev/null
+++ b/net-libs/serf/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>apache</herd>
+</pkgmetadata>
diff --git a/net-libs/serf/serf-0.1.2.ebuild b/net-libs/serf/serf-0.1.2.ebuild
new file mode 100644
index 000000000000..68b04bdbadc8
--- /dev/null
+++ b/net-libs/serf/serf-0.1.2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/serf/serf-0.1.2.ebuild,v 1.1 2008/04/30 19:12:06 hollow 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="~amd64 ~x86"
+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}"/${PV}-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
+}