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
commit14b04bf3189ba99fc941b3835784acfa51add6c1 (patch)
tree1feb3c8320b254ae2318c63319227bc456da6396 /dev-ruby/yajl-ruby
parentpunt the .la files for 1.2 (diff)
downloadhistorical-14b04bf3189ba99fc941b3835784acfa51add6c1.tar.gz
historical-14b04bf3189ba99fc941b3835784acfa51add6c1.tar.bz2
historical-14b04bf3189ba99fc941b3835784acfa51add6c1.zip
Version bump. Our patch has been applied upstream.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/yajl-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
+}