summaryrefslogtreecommitdiff
path: root/recipes/ruby/ruby.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2010-03-22 16:51:15 -0700
committerKhem Raj <raj.khem@gmail.com>2010-03-22 16:51:15 -0700
commit814ad5d596f12b089f113256ca8fc9d55c3da046 (patch)
treea735f8726a79df899187b3d7c4125b1e68cf6d61 /recipes/ruby/ruby.inc
parent7202fbf2fc9edead3903e108fa25b2bca10c6c68 (diff)
ruby: Move to using INC_PR and BBCLASSEXTEND
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/ruby/ruby.inc')
-rw-r--r--recipes/ruby/ruby.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes/ruby/ruby.inc b/recipes/ruby/ruby.inc
index 4fdfdca976..c9bad796b0 100644
--- a/recipes/ruby/ruby.inc
+++ b/recipes/ruby/ruby.inc
@@ -4,6 +4,8 @@ SECTION = "devel/ruby"
PRIORITY = "optional"
LICENSE = "GPL"
+INC_PR = "r1"
+
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 \