diff options
author | Hans de Graaff <graaff@gentoo.org> | 2013-07-14 06:55:32 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2013-07-14 06:55:32 +0000 |
commit | e6f914ab2dea92bcc528f901632bfbd7e6c2b1a9 (patch) | |
tree | e820d6c972297e078a3ce3e447c750d8a56c009d /dev-ruby/curb | |
parent | Cleanup. (diff) | |
download | gentoo-2-e6f914ab2dea92bcc528f901632bfbd7e6c2b1a9.tar.gz gentoo-2-e6f914ab2dea92bcc528f901632bfbd7e6c2b1a9.tar.bz2 gentoo-2-e6f914ab2dea92bcc528f901632bfbd7e6c2b1a9.zip |
Version bump.
(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/curb')
-rw-r--r-- | dev-ruby/curb/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/curb/curb-0.8.4.ebuild | 37 |
2 files changed, 43 insertions, 1 deletions
diff --git a/dev-ruby/curb/ChangeLog b/dev-ruby/curb/ChangeLog index 8a8f635ef13b..225924bdc028 100644 --- a/dev-ruby/curb/ChangeLog +++ b/dev-ruby/curb/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/curb # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/curb/ChangeLog,v 1.3 2013/07/14 06:52:22 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/curb/ChangeLog,v 1.4 2013/07/14 06:55:32 graaff Exp $ + +*curb-0.8.4 (14 Jul 2013) + + 14 Jul 2013; Hans de Graaff <graaff@gentoo.org> +curb-0.8.4.ebuild: + Version bump. 14 Jul 2013; Hans de Graaff <graaff@gentoo.org> -curb-0.8.1.ebuild: Cleanup. diff --git a/dev-ruby/curb/curb-0.8.4.ebuild b/dev-ruby/curb/curb-0.8.4.ebuild new file mode 100644 index 000000000000..04b91423455a --- /dev/null +++ b/dev-ruby/curb/curb-0.8.4.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/curb/curb-0.8.4.ebuild,v 1.1 2013/07/14 06:55:32 graaff Exp $ + +EAPI=5 +# No longer compatible with ruby 1.8 +USE_RUBY="ruby19 ruby20" + +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 +} |