summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-07-20 07:40:50 +0000
committerHans de Graaff <graaff@gentoo.org>2010-07-20 07:40:50 +0000
commit54b1ea60275aad9d800c285677514c2ab51d59e1 (patch)
treeda58f78f238a1ead67ef61cafcb1fc83b8ba2438 /dev-ruby
parentpunt the .la files for 1.2 (diff)
downloadgentoo-2-54b1ea60275aad9d800c285677514c2ab51d59e1.tar.gz
gentoo-2-54b1ea60275aad9d800c285677514c2ab51d59e1.tar.bz2
gentoo-2-54b1ea60275aad9d800c285677514c2ab51d59e1.zip
Version bump. Our patch has been applied upstream.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/yajl-ruby/ChangeLog7
-rw-r--r--dev-ruby/yajl-ruby/yajl-ruby-0.7.7.ebuild38
2 files changed, 44 insertions, 1 deletions
diff --git a/dev-ruby/yajl-ruby/ChangeLog b/dev-ruby/yajl-ruby/ChangeLog
index a276e8b75160..da89faa14250 100644
--- a/dev-ruby/yajl-ruby/ChangeLog
+++ b/dev-ruby/yajl-ruby/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/yajl-ruby
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/yajl-ruby/ChangeLog,v 1.1 2010/05/23 22:35:47 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/yajl-ruby/ChangeLog,v 1.2 2010/07/20 07:40:50 graaff Exp $
+
+*yajl-ruby-0.7.7 (20 Jul 2010)
+
+ 20 Jul 2010; Hans de Graaff <graaff@gentoo.org> +yajl-ruby-0.7.7.ebuild:
+ Version bump. Our patch has been applied upstream.
*yajl-ruby-0.7.6 (23 May 2010)
diff --git a/dev-ruby/yajl-ruby/yajl-ruby-0.7.7.ebuild b/dev-ruby/yajl-ruby/yajl-ruby-0.7.7.ebuild
new file mode 100644
index 000000000000..0e531cab0d34
--- /dev/null
+++ b/dev-ruby/yajl-ruby/yajl-ruby-0.7.7.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/yajl-ruby/yajl-ruby-0.7.7.ebuild,v 1.1 2010/07/20 07:40:50 graaff Exp $
+
+EAPI=2
+
+USE_RUBY="ruby18 ruby19 ree18"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
+
+RUBY_FAKEGEM_TASK_TEST="spec"
+
+# Needs jeweler for documentation building
+RUBY_FAKEGEM_TASK_DOC=""
+
+inherit multilib ruby-fakegem
+
+DESCRIPTION="Ruby C bindings to the Yajl JSON stream-based parser library"
+HOMEPAGE="http://github.com/brianmario/yajl-ruby"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-libs/yajl"
+DEPEND="${RDEPEND}"
+
+ruby_add_bdepend "test? ( dev-ruby/rspec )"
+
+each_ruby_configure() {
+ ${RUBY} -Cext extconf.rb || die "extconf.rb failed"
+}
+
+each_ruby_compile() {
+ emake -Cext CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" || die "make extension failed"
+ cp ext/yajl_ext$(get_modname) lib || die
+}