diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:20:04 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:20:04 +0200 |
commit | 1b8dfe266937a37a4c642f96ceb2347bf4c00a17 (patch) | |
tree | 0c6aab146bb3c82efd9c7846a9a4e70dcb0ec84f /meta-ruby/recipes-devtools/ruby/ruby_1.9.3-p429.bb | |
download | meta-openembedded-daisy-140929.tar.gz |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
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 | 45 |
1 files changed, 45 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..883bb98968 --- /dev/null +++ b/meta-ruby/recipes-devtools/ruby/ruby_1.9.3-p429.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-fix-s390x-build.patch \ | ||
9 | file://ruby-1.9.3-rubygems-1.8.11-uninstaller.patch \ | ||
10 | file://ruby-1.9.3-custom-rubygems-location.patch \ | ||
11 | file://rubygems-1.8.11-binary-extensions.patch \ | ||
12 | file://ruby-1.9.3-mkmf-verbose.patch \ | ||
13 | file://ruby-1.9.3-install-cross.patch \ | ||
14 | " | ||
15 | SRC_URI[md5sum] = "993c72f7f805a9eb453f90b0b7fe0d2b" | ||
16 | SRC_URI[sha256sum] = "d192d1afc46a7ef27b9d0a3c7a67b509048984db2c38907aa82641bdf980acf4" | ||
17 | |||
18 | EXTRA_OECONF = "\ | ||
19 | --enable-wide-getaddrinfo \ | ||
20 | --disable-versioned-paths \ | ||
21 | --disable-rpath \ | ||
22 | --enable-shared \ | ||
23 | --enable-load-relative \ | ||
24 | " | ||
25 | |||
26 | EXTRA_OEMAKE = " \ | ||
27 | LIBRUBYARG='-lruby-static' \ | ||
28 | " | ||
29 | |||
30 | do_install() { | ||
31 | if [ ${PN} = "ruby" ]; then | ||
32 | oe_runmake 'DESTDIR=${D}' install install-cross | ||
33 | else | ||
34 | oe_runmake 'DESTDIR=${D}' install | ||
35 | fi | ||
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" | ||