diff options
Diffstat (limited to 'meta-ruby/recipes-devtools/ruby/ruby_1.9.3-p429.bb')
| -rw-r--r-- | meta-ruby/recipes-devtools/ruby/ruby_1.9.3-p429.bb | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/meta-ruby/recipes-devtools/ruby/ruby_1.9.3-p429.bb b/meta-ruby/recipes-devtools/ruby/ruby_1.9.3-p429.bb new file mode 100644 index 0000000000..7c5be36642 --- /dev/null +++ b/meta-ruby/recipes-devtools/ruby/ruby_1.9.3-p429.bb | |||
| @@ -0,0 +1,47 @@ | |||
| 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-custom-rubygems-location.patch \ | ||
| 13 | file://rubygems-1.8.11-binary-extensions.patch \ | ||
| 14 | file://ruby-1.9.3-mkmf-verbose.patch \ | ||
| 15 | file://ruby-1.9.3-install-cross.patch \ | ||
| 16 | " | ||
| 17 | SRC_URI[md5sum] = "993c72f7f805a9eb453f90b0b7fe0d2b" | ||
| 18 | SRC_URI[sha256sum] = "d192d1afc46a7ef27b9d0a3c7a67b509048984db2c38907aa82641bdf980acf4" | ||
| 19 | |||
| 20 | EXTRA_OECONF = "\ | ||
| 21 | --enable-wide-getaddrinfo \ | ||
| 22 | --with-rubygemsdir=${datadir}/rubygems \ | ||
| 23 | --disable-versioned-paths \ | ||
| 24 | --disable-rpath \ | ||
| 25 | --enable-shared \ | ||
| 26 | " | ||
| 27 | |||
| 28 | EXTRA_OEMAKE = " \ | ||
| 29 | LIBRUBYARG='-lruby-static' \ | ||
| 30 | " | ||
| 31 | |||
| 32 | do_install() { | ||
| 33 | if [ ${PN} = "ruby" ]; then | ||
| 34 | oe_runmake 'DESTDIR=${D}' install install-cross | ||
| 35 | else | ||
| 36 | oe_runmake 'DESTDIR=${D}' install | ||
| 37 | fi | ||
| 38 | } | ||
| 39 | |||
| 40 | FILES_${PN} += "${datadir}/rubygems \ | ||
| 41 | ${datadir}/ri" | ||
| 42 | |||
| 43 | FILES_${PN}-dbg += "${libdir}/ruby/*/.debug \ | ||
| 44 | ${libdir}/ruby/*/*/.debug \ | ||
| 45 | ${libdir}/ruby/*/*/*/.debug" | ||
| 46 | |||
| 47 | BBCLASSEXTEND = "native" | ||
