summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2012-12-16 09:40:57 +0000
committerHans de Graaff <graaff@gentoo.org>2012-12-16 09:40:57 +0000
commit6648eb664caaf3ae6cb4fe0ca00fbe3ed5e9a8fb (patch)
tree232367667bac24f23e403aa064f092ab08dde7bf /dev-ruby/curb
parentImport ubuntu fixes and improvements (diff)
downloadgentoo-2-6648eb664caaf3ae6cb4fe0ca00fbe3ed5e9a8fb.tar.gz
gentoo-2-6648eb664caaf3ae6cb4fe0ca00fbe3ed5e9a8fb.tar.bz2
gentoo-2-6648eb664caaf3ae6cb4fe0ca00fbe3ed5e9a8fb.zip
Version bump.
(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/curb')
-rw-r--r--dev-ruby/curb/ChangeLog7
-rw-r--r--dev-ruby/curb/curb-0.8.3.ebuild37
2 files changed, 43 insertions, 1 deletions
diff --git a/dev-ruby/curb/ChangeLog b/dev-ruby/curb/ChangeLog
index 97cf65731e85..632eada8665e 100644
--- a/dev-ruby/curb/ChangeLog
+++ b/dev-ruby/curb/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/curb
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/curb/ChangeLog,v 1.1 2012/09/29 06:04:44 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/curb/ChangeLog,v 1.2 2012/12/16 09:40:57 graaff Exp $
+
+*curb-0.8.3 (16 Dec 2012)
+
+ 16 Dec 2012; Hans de Graaff <graaff@gentoo.org> +curb-0.8.3.ebuild:
+ Version bump.
*curb-0.8.1 (29 Sep 2012)
diff --git a/dev-ruby/curb/curb-0.8.3.ebuild b/dev-ruby/curb/curb-0.8.3.ebuild
new file mode 100644
index 000000000000..fd9f153bc58d
--- /dev/null
+++ b/dev-ruby/curb/curb-0.8.3.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/curb/curb-0.8.3.ebuild,v 1.1 2012/12/16 09:40:57 graaff Exp $
+
+EAPI=4
+# No longer compatible with ruby 1.8
+USE_RUBY="ruby19"
+
+RUBY_FAKEGEM_RECIPE_TEST="rake"
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Ruby-language bindings for libcurl"
+HOMEPAGE="http://curb.rubyforge.org/"
+
+LICENSE="Ruby"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND+=" net-misc/curl[ssl]"
+RDEPEND+=" net-misc/curl[ssl]"
+
+all_ruby_prepare() {
+ # fix tests when localhost is also ::1
+ sed -i -e 's|localhost:|127.0.0.1:|g' tests/*.rb || die
+}
+
+each_ruby_configure() {
+ ${RUBY} -Cext extconf.rb || die "extconf.rb failed"
+}
+
+each_ruby_compile() {
+ emake -Cext CFLAGS="${CFLAGS} -fPIC" archflags="${LDFLAGS}"
+ cp -l ext/curb_core$(get_modname) lib || die
+}