summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2009-06-21 13:26:02 +0000
committerAlexis Ballier <aballier@gentoo.org>2009-06-21 13:26:02 +0000
commitb49007d2657d1ed9ddf17ad3d4d5b742c7f88c36 (patch)
tree9595fa4693f985103cbb3ce07aa92eec38c10ab8 /dev-ml/ocurl
parentVersion bump (diff)
downloadhistorical-b49007d2657d1ed9ddf17ad3d4d5b742c7f88c36.tar.gz
historical-b49007d2657d1ed9ddf17ad3d4d5b742c7f88c36.tar.bz2
historical-b49007d2657d1ed9ddf17ad3d4d5b742c7f88c36.zip
version bump
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'dev-ml/ocurl')
-rw-r--r--dev-ml/ocurl/ChangeLog8
-rw-r--r--dev-ml/ocurl/Manifest11
-rw-r--r--dev-ml/ocurl/files/ocurl-0.5.1-asneeded.patch28
-rw-r--r--dev-ml/ocurl/ocurl-0.5.1.ebuild45
4 files changed, 87 insertions, 5 deletions
diff --git a/dev-ml/ocurl/ChangeLog b/dev-ml/ocurl/ChangeLog
index dca2647d36b2..9462c3984e5f 100644
--- a/dev-ml/ocurl/ChangeLog
+++ b/dev-ml/ocurl/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ml/ocurl
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocurl/ChangeLog,v 1.7 2009/06/21 13:10:17 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocurl/ChangeLog,v 1.8 2009/06/21 13:26:01 aballier Exp $
+
+*ocurl-0.5.1 (21 Jun 2009)
+
+ 21 Jun 2009; Alexis Ballier <aballier@gentoo.org> +ocurl-0.5.1.ebuild,
+ +files/ocurl-0.5.1-asneeded.patch:
+ version bump
21 Jun 2009; Alexis Ballier <aballier@gentoo.org> ocurl-0.2.1.ebuild:
dont install copying
diff --git a/dev-ml/ocurl/Manifest b/dev-ml/ocurl/Manifest
index 60293cb7b51d..42ea5be35f64 100644
--- a/dev-ml/ocurl/Manifest
+++ b/dev-ml/ocurl/Manifest
@@ -1,14 +1,17 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+AUX ocurl-0.5.1-asneeded.patch 803 RMD160 a59969e054ba14186d74bd72a715e368ac1f731a SHA1 1df6bdafdb402c6fe0a2468d5d9320c6080ecaeb SHA256 66d1a68e36a7eff7c7eaad99d3cc7fa62ff25205568b860569929ecbaa7d60c7
DIST ocurl-0.2.1.tar.gz 75246 RMD160 b93531d78f25b4a0bbe76d638e7eaae4b0e40a94 SHA1 f4e9a579787cc3be37d6957a3db112181da77fa6 SHA256 06ff11468ccde2b1c29f6f7cc272fdabec93b43cc4db35137451972a066648f8
+DIST ocurl-0.5.1.tgz 91211 RMD160 3841c4e488e5224cc492a55b86cd45a4ee0e5527 SHA1 befb09134a9d98336be66a19e715388374456f88 SHA256 aca165cf30dceda90a0c65c273d9a6857c9ddc08da0f3e6880e5f9ac605404d3
EBUILD ocurl-0.2.1.ebuild 661 RMD160 2b78c22bfe00117c7552ae61359282ca139694ab SHA1 c16b826dfdcd4ac8f94cc401c099508886ecc629 SHA256 44b0f6b2f5245441e8ec3391130bf3394df7027effd1d45e08e10914a8e116dd
-MISC ChangeLog 1064 RMD160 33cb3e103e66b724432fcd074d2491387e10a4b6 SHA1 24fda9eaffbb265653e5331842826af92806ee5e SHA256 4fd21a8e738a6db904c1be51cf639f49693d9898bf10793dc88f63e6b2a22b69
+EBUILD ocurl-0.5.1.ebuild 837 RMD160 ba93822ae93b59694fadf923c55870f8a21b8162 SHA1 6c6a2e2eb6e349842271c8721b2816ce47657082 SHA256 b00b637aeb4611db488e4046148542404bfee0935f1ce16260d9f87305978a91
+MISC ChangeLog 1218 RMD160 0f6b642dec9b9124800d17ecb2e94d2cfb3d1d56 SHA1 172d5c284b014845e9b0268b4cb61fe9e19dc35f SHA256 882e75ce7de957745f5a68988b9c7ba93dbe14ac233f77c8310163b7adf670b1
MISC metadata.xml 157 RMD160 30153301a2a5cca5547a6e47941aae2895837613 SHA1 66e87d50f913856e703f3ee29841b03332af40db SHA256 d14b8b08774f2a40f42d70ff40b1b4f1c4725e7095d702143a32909553eac799
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
-iEYEARECAAYFAko+MT0ACgkQvFcC4BYPU0qVpwCfZYG8QwWzr4xGOypJudj+UUlI
-Wk8AoLO4yoe8olABMdJjq5sEB/EQQoaw
-=ZuOv
+iEYEARECAAYFAko+NOwACgkQvFcC4BYPU0rXDwCgj5ZbHEqx5NvA+MQvH6djtt0X
+LfAAn0NZPYneQTI9fnQZPYOgHMYCxTc9
+=UjxP
-----END PGP SIGNATURE-----
diff --git a/dev-ml/ocurl/files/ocurl-0.5.1-asneeded.patch b/dev-ml/ocurl/files/ocurl-0.5.1-asneeded.patch
new file mode 100644
index 000000000000..d74dc0e61aae
--- /dev/null
+++ b/dev-ml/ocurl/files/ocurl-0.5.1-asneeded.patch
@@ -0,0 +1,28 @@
+Index: ocurl/Makefile.in
+===================================================================
+--- ocurl.orig/Makefile.in
++++ ocurl/Makefile.in
+@@ -27,7 +27,7 @@ CURLHELPEROBJS = curl-helper.o
+ CURLOBJS = curl.cmx
+ CURLBCOBJS = $(CURLOBJS:.cmx=.cmo)
+
+-CURLFLAGS = -ccopt @CURLFLAGS@
++CURLFLAGS = -ccopt "-I. @CURLFLAGS@"
+ CURLCLIBS = -cclib -lcurl-helper -cclib "@CURLLIBS@"
+
+ ifeq (@OCAMLBEST@,opt)
+Index: ocurl/configure.in
+===================================================================
+--- ocurl.orig/configure.in
++++ ocurl/configure.in
+@@ -5,8 +5,8 @@ dnl
+ AC_INIT(curl.ml)
+
+ CURLDIR=`curl-config --cflags`
+-CURLFLAGS=`curl-config --libs | cut -d ' ' -f 1`
+-CURLLIBS=`curl-config --libs | cut -d ' ' -f 2-`
++CURLFLAGS=`curl-config --cflags`
++CURLLIBS=`curl-config --libs`
+
+ CFLAGS=$CURLDIR
+
diff --git a/dev-ml/ocurl/ocurl-0.5.1.ebuild b/dev-ml/ocurl/ocurl-0.5.1.ebuild
new file mode 100644
index 000000000000..8325fa0e95ee
--- /dev/null
+++ b/dev-ml/ocurl/ocurl-0.5.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocurl/ocurl-0.5.1.ebuild,v 1.1 2009/06/21 13:26:01 aballier Exp $
+
+EAPI=2
+
+inherit eutils findlib autotools
+
+DESCRIPTION="OCaml interface to the libcurl library"
+HOMEPAGE="http://sourceforge.net/projects/ocurl"
+LICENSE="MIT"
+SRC_URI="mirror://sourceforge/ocurl/${P}.tgz"
+
+SLOT="0"
+IUSE="examples"
+
+DEPEND=">=net-misc/curl-7.9.8
+dev-libs/openssl"
+RDEPEND="$DEPEND"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-asneeded.patch"
+ eautoreconf
+}
+
+src_configure() {
+ econf --with-findlib
+}
+
+src_compile()
+{
+ emake -j1 all || die
+}
+
+src_install()
+{
+ findlib_src_install
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+}