From 5df465fcb72f8ec3417951f67cba0cbc73e23f5c Mon Sep 17 00:00:00 2001 From: Jackie Huang Date: Tue, 16 Oct 2012 08:34:42 +0000 Subject: 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 Signed-off-by: Martin Jansa --- meta-ruby/recipes-devtools/ruby/ruby_1.9.3-p194.bb | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 meta-ruby/recipes-devtools/ruby/ruby_1.9.3-p194.bb (limited to 'meta-ruby/recipes-devtools/ruby/ruby_1.9.3-p194.bb') 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 @@ +require ruby.inc +PR = "${INC_PR}.0" + +DEPENDS += "libyaml" + +SRC_URI += "\ + file://0001-socket-extconf-hardcode-wide-getaddr-info-test-outco.patch \ + file://ruby-1.9.3-always-use-i386.patch \ + file://ruby-1.9.3-disable-versioned-paths.patch \ + file://ruby-1.9.3-fix-s390x-build.patch \ + file://ruby-1.9.3-rubygems-1.8.11-uninstaller.patch \ + file://ruby-1.9.3-webrick-test-fix.patch \ + file://ruby-1.9.3-bignum-test-fix.patch \ + file://ruby-1.9.3-custom-rubygems-location.patch \ + file://rubygems-1.8.11-binary-extensions.patch \ + file://ruby-1.9.3-mkmf-verbose.patch \ + file://ruby-1.9.3-install-cross.patch \ +" + +SRC_URI[md5sum] = "bc0c715c69da4d1d8bd57069c19f6c0e" +SRC_URI[sha256sum] = "46e2fa80be7efed51bd9cdc529d1fe22ebc7567ee0f91db4ab855438cf4bd8bb" + +EXTRA_OECONF = "\ + --enable-wide-getaddrinfo \ + --with-rubygemsdir=${datadir}/rubygems \ + --disable-versioned-paths \ + --disable-rpath \ + --enable-shared \ +" + +EXTRA_OEMAKE = " \ + LIBRUBYARG='-lruby-static' \ +" + +do_install() { + if [ ${PN} = "ruby" ]; then + oe_runmake 'DESTDIR=${D}' install install-cross + else + oe_runmake 'DESTDIR=${D}' install + fi +} + +FILES_${PN} += "${datadir}/rubygems \ + ${datadir}/ri" + +FILES_${PN}-dbg += "${libdir}/ruby/*/.debug \ + ${libdir}/ruby/*/*/.debug \ + ${libdir}/ruby/*/*/*/.debug" + +BBCLASSEXTEND = "native" -- cgit v1.2.3-54-g00ecf