diff options
Diffstat (limited to 'meta-ruby/recipes-devtools/ruby/ruby_1.9.3-p547.bb')
-rw-r--r-- | meta-ruby/recipes-devtools/ruby/ruby_1.9.3-p547.bb | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/meta-ruby/recipes-devtools/ruby/ruby_1.9.3-p547.bb b/meta-ruby/recipes-devtools/ruby/ruby_1.9.3-p547.bb new file mode 100644 index 0000000000..2404a5fdab --- /dev/null +++ b/meta-ruby/recipes-devtools/ruby/ruby_1.9.3-p547.bb | |||
@@ -0,0 +1,45 @@ | |||
1 | require ruby.inc | ||
2 | PR = "${INC_PR}.0" | ||
3 | |||
4 | SRC_URI += "\ | ||
5 | file://0001-socket-extconf-hardcode-wide-getaddr-info-test-outco.patch \ | ||
6 | file://ruby-1.9.3-always-use-i386.patch \ | ||
7 | file://ruby-1.9.3-disable-versioned-paths.patch \ | ||
8 | file://ruby-1.9.3-rubygems-1.8.11-uninstaller.patch \ | ||
9 | file://ruby-1.9.3-custom-rubygems-location.patch \ | ||
10 | file://rubygems-1.8.11-binary-extensions.patch \ | ||
11 | file://ruby-1.9.3-mkmf-verbose.patch \ | ||
12 | file://ruby-1.9.3-install-cross.patch \ | ||
13 | " | ||
14 | SRC_URI[md5sum] = "7531f9b1b35b16f3eb3d7bea786babfd" | ||
15 | SRC_URI[sha256sum] = "9ba118e4aba04c430bc4d5efb09b31a0277e101c9fd2ef3b80b9c684d7ae57a1" | ||
16 | |||
17 | # it's unknown to configure script, but then passed to extconf.rb | ||
18 | # maybe it's not really needed as we're hardcoding the result with | ||
19 | # 0001-socket-extconf-hardcode-wide-getaddr-info-test-outco.patch | ||
20 | UNKNOWN_CONFIGURE_WHITELIST += "--enable-wide-getaddrinfo" | ||
21 | |||
22 | EXTRA_OECONF = "\ | ||
23 | --enable-wide-getaddrinfo \ | ||
24 | --disable-versioned-paths \ | ||
25 | --disable-rpath \ | ||
26 | --enable-shared \ | ||
27 | --enable-load-relative \ | ||
28 | " | ||
29 | |||
30 | EXTRA_OEMAKE = " \ | ||
31 | LIBRUBYARG='-lruby-static' \ | ||
32 | " | ||
33 | |||
34 | do_install() { | ||
35 | oe_runmake 'DESTDIR=${D}' install | ||
36 | } | ||
37 | |||
38 | FILES_${PN} += "${datadir}/rubygems \ | ||
39 | ${datadir}/ri" | ||
40 | |||
41 | FILES_${PN}-dbg += "${libdir}/ruby/*/.debug \ | ||
42 | ${libdir}/ruby/*/*/.debug \ | ||
43 | ${libdir}/ruby/*/*/*/.debug" | ||
44 | |||
45 | BBCLASSEXTEND = "native" | ||