diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2012-10-16 08:34:42 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2012-12-26 22:18:15 +0100 |
commit | 5df465fcb72f8ec3417951f67cba0cbc73e23f5c (patch) | |
tree | 444fde76e1f91d9a25e884574bcbcdb27da8e75e /meta-ruby/recipes-devtools/ruby/ruby_1.9.3-p194.bb | |
parent | d04b996ec223465729920ec3599b53dabb3ceb05 (diff) | |
download | meta-openembedded-5df465fcb72f8ec3417951f67cba0cbc73e23f5c.tar.gz |
ruby: update to 1.9.3-194
I sent this to oe-core but was told that it's not the right place and
was suggested to send here.
Most of the 1.9.3 patches originate from ruby-1.9.3.194-10.1.fc17.src.rpm
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-ruby/recipes-devtools/ruby/ruby_1.9.3-p194.bb')
-rw-r--r-- | meta-ruby/recipes-devtools/ruby/ruby_1.9.3-p194.bb | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/meta-ruby/recipes-devtools/ruby/ruby_1.9.3-p194.bb b/meta-ruby/recipes-devtools/ruby/ruby_1.9.3-p194.bb new file mode 100644 index 0000000000..b9f7915d92 --- /dev/null +++ b/meta-ruby/recipes-devtools/ruby/ruby_1.9.3-p194.bb | |||
@@ -0,0 +1,50 @@ | |||
1 | require ruby.inc | ||
2 | PR = "${INC_PR}.0" | ||
3 | |||
4 | DEPENDS += "libyaml" | ||
5 | |||
6 | SRC_URI += "\ | ||
7 | file://0001-socket-extconf-hardcode-wide-getaddr-info-test-outco.patch \ | ||
8 | file://ruby-1.9.3-always-use-i386.patch \ | ||
9 | file://ruby-1.9.3-disable-versioned-paths.patch \ | ||
10 | file://ruby-1.9.3-fix-s390x-build.patch \ | ||
11 | file://ruby-1.9.3-rubygems-1.8.11-uninstaller.patch \ | ||
12 | file://ruby-1.9.3-webrick-test-fix.patch \ | ||
13 | file://ruby-1.9.3-bignum-test-fix.patch \ | ||
14 | file://ruby-1.9.3-custom-rubygems-location.patch \ | ||
15 | file://rubygems-1.8.11-binary-extensions.patch \ | ||
16 | file://ruby-1.9.3-mkmf-verbose.patch \ | ||
17 | file://ruby-1.9.3-install-cross.patch \ | ||
18 | " | ||
19 | |||
20 | SRC_URI[md5sum] = "bc0c715c69da4d1d8bd57069c19f6c0e" | ||
21 | SRC_URI[sha256sum] = "46e2fa80be7efed51bd9cdc529d1fe22ebc7567ee0f91db4ab855438cf4bd8bb" | ||
22 | |||
23 | EXTRA_OECONF = "\ | ||
24 | --enable-wide-getaddrinfo \ | ||
25 | --with-rubygemsdir=${datadir}/rubygems \ | ||
26 | --disable-versioned-paths \ | ||
27 | --disable-rpath \ | ||
28 | --enable-shared \ | ||
29 | " | ||
30 | |||
31 | EXTRA_OEMAKE = " \ | ||
32 | LIBRUBYARG='-lruby-static' \ | ||
33 | " | ||
34 | |||
35 | do_install() { | ||
36 | if [ ${PN} = "ruby" ]; then | ||
37 | oe_runmake 'DESTDIR=${D}' install install-cross | ||
38 | else | ||
39 | oe_runmake 'DESTDIR=${D}' install | ||
40 | fi | ||
41 | } | ||
42 | |||
43 | FILES_${PN} += "${datadir}/rubygems \ | ||
44 | ${datadir}/ri" | ||
45 | |||
46 | FILES_${PN}-dbg += "${libdir}/ruby/*/.debug \ | ||
47 | ${libdir}/ruby/*/*/.debug \ | ||
48 | ${libdir}/ruby/*/*/*/.debug" | ||
49 | |||
50 | BBCLASSEXTEND = "native" | ||