aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/ruby
diff options
context:
space:
mode:
authorRolf Leggewie <oe-devel@rolf.leggewie.biz>2009-06-19 14:00:36 +0900
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>2009-06-19 14:02:32 +0900
commit036881b90919d04089d418067d076f391d82ea29 (patch)
tree871b8b35a1e2bb0befd373e0d63a557b876bbf47 /recipes/ruby
parentc743ae38e9b19d3c0155c68fc893d5eceee76e5a (diff)
downloadopenembedded-036881b90919d04089d418067d076f391d82ea29.tar.gz
ruby: introduce SHRT_VER to follow recent restructuring of upstream FTP server
* update SRC_URI and checksums.ini
Diffstat (limited to 'recipes/ruby')
-rw-r--r--recipes/ruby/ruby.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes/ruby/ruby.inc b/recipes/ruby/ruby.inc
index 978bf4b229..4fdfdca976 100644
--- a/recipes/ruby/ruby.inc
+++ b/recipes/ruby/ruby.inc
@@ -4,7 +4,8 @@ SECTION = "devel/ruby"
PRIORITY = "optional"
LICENSE = "GPL"
-SRC_URI = "ftp://ftp.ruby-lang.org/pub/ruby/ruby-${PV}.tar.gz \
+SHRT_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}"
+SRC_URI = "ftp://ftp.ruby-lang.org/pub/ruby/${SHRT_VER}/ruby-${PV}.tar.gz \
file://extmk_run.patch;patch=1 \
file://openssl.patch;patch=1 \
file://disable_wide_getaddrinfo_check.patch;patch=1"