summaryrefslogtreecommitdiffstats
path: root/meta-ruby/recipes-devtools/ruby/ruby_2.2.1.bb
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2015-04-04 08:37:57 -0700
committerMartin Jansa <Martin.Jansa@gmail.com>2015-04-13 12:56:14 +0200
commit9667f17d6ec3ca1b719d230e69569cf57c766a4d (patch)
tree2b307dce022a9038dbda39ae796cfeec4d4445a2 /meta-ruby/recipes-devtools/ruby/ruby_2.2.1.bb
parent3f3b11d4c8e4339af8d38bce22e6ebd29ac08fca (diff)
downloadmeta-openembedded-9667f17d6ec3ca1b719d230e69569cf57c766a4d.tar.gz
ruby: package update to verison 2.2.1
LIC_FILES_CHKSUM changes: BDSL: update copyright notice with "2013" GPL: update to GPLv2 LEGAL: added license info for ccan files dropped patches since they are now incorperated. several security fixes included: CVE-2014-2525 CVE-2014-0160 CVE-2014-2734 CVE-2014-8080 CVE-2014-8090 for addional information: http://svn.ruby-lang.org/repos/ruby/tags/v2_2_1/ChangeLog Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-ruby/recipes-devtools/ruby/ruby_2.2.1.bb')
-rw-r--r--meta-ruby/recipes-devtools/ruby/ruby_2.2.1.bb39
1 files changed, 39 insertions, 0 deletions
diff --git a/meta-ruby/recipes-devtools/ruby/ruby_2.2.1.bb b/meta-ruby/recipes-devtools/ruby/ruby_2.2.1.bb
new file mode 100644
index 000000000..29f229155
--- /dev/null
+++ b/meta-ruby/recipes-devtools/ruby/ruby_2.2.1.bb
@@ -0,0 +1,39 @@
1require ruby.inc
2
3SRC_URI[md5sum] = "b49fc67a834e4f77249eb73eecffb1c9"
4SRC_URI[sha256sum] = "5a4de38068eca8919cb087d338c0c2e3d72c9382c804fb27ab746e6c7819ab28"
5
6# it's unknown to configure script, but then passed to extconf.rb
7# maybe it's not really needed as we're hardcoding the result with
8# 0001-socket-extconf-hardcode-wide-getaddr-info-test-outco.patch
9UNKNOWN_CONFIGURE_WHITELIST += "--enable-wide-getaddrinfo"
10
11PACKAGECONFIG ??= ""
12PACKAGECONFIG[valgrind] = "--with-valgrind=yes, --with-valgrind=no, valgrind"
13PACKAGECONFIG[gpm] = "--with-gmp=yes, --with-gmp=no, gmp"
14
15EXTRA_OECONF = "\
16 --enable-wide-getaddrinfo \
17 --disable-versioned-paths \
18 --disable-rpath \
19 --enable-shared \
20 --enable-load-relative \
21"
22
23EXTRA_OEMAKE = " \
24 LIBRUBYARG='-lruby-static' \
25"
26
27do_install() {
28 oe_runmake 'DESTDIR=${D}' install
29}
30
31FILES_${PN} += "${datadir}/rubygems \
32 ${datadir}/ri"
33
34FILES_${PN}-dbg += "${libdir}/ruby/*/.debug \
35 ${libdir}/ruby/*/*/.debug \
36 ${libdir}/ruby/*/*/*/.debug \
37 ${libdir}/ruby/*/*/*/*/.debug"
38
39BBCLASSEXTEND = "native"