summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2012-09-29 06:04:44 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2012-09-29 06:04:44 +0000
commit9b277bdb290f93dcdeee2ca2521cdfc7e9fc51bc (patch)
tree14cdaefe2602dd14255b532997ffc3f0eb194559 /dev-ruby
parentAdd missing header files to fix build with jack enabled (bug #436376 by Domin... (diff)
downloadhistorical-9b277bdb290f93dcdeee2ca2521cdfc7e9fc51bc.tar.gz
historical-9b277bdb290f93dcdeee2ca2521cdfc7e9fc51bc.tar.bz2
historical-9b277bdb290f93dcdeee2ca2521cdfc7e9fc51bc.zip
Initial import of curb.
Package-Manager: portage-2.2.0_alpha134/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/curb/ChangeLog9
-rw-r--r--dev-ruby/curb/Manifest18
-rw-r--r--dev-ruby/curb/curb-0.8.1.ebuild36
-rw-r--r--dev-ruby/curb/metadata.xml5
4 files changed, 68 insertions, 0 deletions
diff --git a/dev-ruby/curb/ChangeLog b/dev-ruby/curb/ChangeLog
new file mode 100644
index 000000000000..97cf65731e85
--- /dev/null
+++ b/dev-ruby/curb/ChangeLog
@@ -0,0 +1,9 @@
+# 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 $
+
+*curb-0.8.1 (29 Sep 2012)
+
+ 29 Sep 2012; Diego E. Pettenò <flameeyes@gentoo.org> +curb-0.8.1.ebuild,
+ +metadata.xml:
+ Initial import of curb.
diff --git a/dev-ruby/curb/Manifest b/dev-ruby/curb/Manifest
new file mode 100644
index 000000000000..85aeb39c0ddb
--- /dev/null
+++ b/dev-ruby/curb/Manifest
@@ -0,0 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST curb-0.8.1.gem 78848 SHA256 6d491a188aabb9c855b5e0c0e239efa20917ee0ac11623df1cecf09809dda436 SHA512 b1b55a08bf3356907b3a8ccc96e7ae63ec3c801ddcff000147716417a9d0324ca58a26f243f148101b61e75d4e92450935408d30835154c2e14945f117f9171e WHIRLPOOL 60ef0b22f6b7c22bea2015e1e6bf4e14f2e2ac6052e6b3a260c233ba707598fe18fe258e3ab6fc0d13de6783bf8bfa469d0ef42afc93c27e11b02afe0f17ccec
+EBUILD curb-0.8.1.ebuild 875 SHA256 5bbeb26bde82cc65ac99f8bcae0d157838241da5458bdc8188d8283f8af490f2 SHA512 c7759579309a63c1bf14d0f989d211f43853b70e78b9bae36d596e5de7162add3ebe19bac1aa6fc54c6c3207d994917005e98ff5652b93fc7f754167e22b107f WHIRLPOOL 5b70424ff246d054ec3fcc2e7f6fdaa81d3a64193d944416e076b5784524ce9ddf4fdc50837cdf60e383e2fe10e676346303bbc817ab34970bc607caab9df954
+MISC ChangeLog 348 SHA256 327d5ca608d0d2fd7dc048137a036968069a3f61de084ccba71d0ec5bfa8ea9d SHA512 d486fc0480657596de86b4153effd023423a98bec0520f124f6bd5461c626ad61f26561966ede3f284546a12100e580706455dd6429af122bef62484f3e5b32d WHIRLPOOL d3ae4b136eb93e3b0bca7193cf510faf01faab91b981be71380f57fe145ff2f4c79259ca45196736c6f3972f347f9178b1ca70c803ef008f7629d0c13edae48c
+MISC metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c SHA512 0cec73b966de88015ea4c7212723d848d367608aa93658bb945f298a8000c4ba8aba73c9eb8481859fb5bbed45e80dae32c628caf81e027a4ad8eafa7e632851 WHIRLPOOL 4da25c81e21173ad8b7b5f35b056264869d9a16741062aa4422c5ea1aa9e73da8eb700b0d54de84c169d702fbb3f41ed157c9dc7c9daac110849ae84715c051b
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQEcBAEBCAAGBQJQZpA+AAoJEBzRPIrUMBNCXBYH/jUVBxqH2wbzdqNsMzw4A1he
+PsqCeDzT/eTveof9+iMghCZ8x0lt0Ox5C+DxE4pt1WGH7I1lYuI9r5TZ7nhLRGtj
+C2R2FCesfjO+5YgOR48jFyvwY5n5lX2MXcoYs8fftJaDbVwJlp8dR9Us9WAP49QB
+rM2R2yrbhe2A+C0JWd7hTwAERqAjIQMHgwlHv9+mDeaGGdj8plIdk0mXRc2VqJWx
+XY++bR0agIwMi5Evn387Bg8ukh7snCIjIW22qUtS7vbS9p8QInqE3xLtErLyauZb
+Qmy7Q7+KCoyaoYG+0aPUdjuhFlAGtv8RO2Vfk8ya3TMf5DbOV5dngSzqW5lmUGM=
+=bdKu
+-----END PGP SIGNATURE-----
diff --git a/dev-ruby/curb/curb-0.8.1.ebuild b/dev-ruby/curb/curb-0.8.1.ebuild
new file mode 100644
index 000000000000..65d6199ab0a9
--- /dev/null
+++ b/dev-ruby/curb/curb-0.8.1.ebuild
@@ -0,0 +1,36 @@
+# 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.1.ebuild,v 1.1 2012/09/29 06:04:44 flameeyes Exp $
+
+EAPI=4
+USE_RUBY="ruby18 ruby19 ree18"
+
+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
+}
diff --git a/dev-ruby/curb/metadata.xml b/dev-ruby/curb/metadata.xml
new file mode 100644
index 000000000000..852136183369
--- /dev/null
+++ b/dev-ruby/curb/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>ruby</herd>
+</pkgmetadata>