/[gentoo-x86]/dev-ruby/yajl-ruby/yajl-ruby-1.2.0.ebuild
Gentoo

Contents of /dev-ruby/yajl-ruby/yajl-ruby-1.2.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Apr 2 06:16:58 2014 UTC (7 months, 3 weeks ago) by graaff
Branch: MAIN
Changes since 1.2: +2 -2 lines
Add ruby21.

(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/yajl-ruby/yajl-ruby-1.2.0.ebuild,v 1.2 2014/01/29 16:23:29 hattya Exp $
4
5 EAPI=5
6
7 USE_RUBY="ruby18 ruby19 ruby20 ruby21"
8
9 RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
10
11 RUBY_FAKEGEM_RECIPE_TEST="rspec"
12
13 RUBY_FAKEGEM_TASK_DOC=""
14
15 inherit multilib ruby-fakegem
16
17 DESCRIPTION="Ruby C bindings to the Yajl JSON stream-based parser library"
18 HOMEPAGE="http://github.com/brianmario/yajl-ruby"
19
20 LICENSE="MIT"
21 SLOT="0"
22 KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
23 IUSE=""
24
25 RDEPEND="${RDEPEND} dev-libs/yajl"
26 DEPEND="${DEPEND} dev-libs/yajl"
27
28 each_ruby_configure() {
29 ${RUBY} -Cext/yajl extconf.rb || die "extconf.rb failed"
30 }
31
32 each_ruby_compile() {
33 emake -Cext/yajl CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" V=1
34 cp ext/yajl/yajl$(get_modname) lib/yajl/ || die
35 }

  ViewVC Help
Powered by ViewVC 1.1.20