diff options
Diffstat (limited to 'meta-ruby/recipes-devtools/ruby/ruby.inc')
| -rw-r--r-- | meta-ruby/recipes-devtools/ruby/ruby.inc | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/meta-ruby/recipes-devtools/ruby/ruby.inc b/meta-ruby/recipes-devtools/ruby/ruby.inc index a70f951518..894e3e6a93 100644 --- a/meta-ruby/recipes-devtools/ruby/ruby.inc +++ b/meta-ruby/recipes-devtools/ruby/ruby.inc | |||
| @@ -1,19 +1,26 @@ | |||
| 1 | DESCRIPTION = "Ruby is an interpreted scripting language \ | 1 | SUMMARY = "An interpreter of object-oriented scripting language" |
| 2 | for quick and easy object-oriented programming." | 2 | DESCRIPTION = "Ruby is an interpreted scripting language for quick \ |
| 3 | and easy object-oriented programming. It has many features to process \ | ||
| 4 | text files and to do system management tasks (as in Perl). \ | ||
| 5 | It is simple, straight-forward, and extensible. \ | ||
| 6 | " | ||
| 7 | HOMEPAGE = "http://www.ruby-lang.org/" | ||
| 3 | SECTION = "devel/ruby" | 8 | SECTION = "devel/ruby" |
| 4 | LICENSE = "GPLv2 & LGPLv2+ & BSD" | 9 | LICENSE = "Ruby | BSD | GPLv2" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=99f88e67b65504d289a0326c59f9c148 \ | 10 | LIC_FILES_CHKSUM = "\ |
| 6 | file://LEGAL;md5=7d502ae3b621dc406b220dadddb72e16 \ | 11 | file://COPYING;md5=837b32593517ae48b9c3b5c87a5d288c \ |
| 7 | file://LGPL;md5=7fbc338309ac38fefcd64b04bb903e34 \ | 12 | file://BSDL;md5=3949e007205deef714bd225e1ee4a8ea \ |
| 13 | file://GPL;md5=393a5ca445f6965873eca0259a17f833 \ | ||
| 14 | file://LEGAL;md5=e88686821918c0b6d2b1b8328116cec5 \ | ||
| 8 | " | 15 | " |
| 9 | 16 | ||
| 10 | DEPENDS = "ruby-native zlib openssl" | 17 | DEPENDS = "ruby-native zlib openssl tcl" |
| 11 | DEPENDS_virtclass-native = "" | 18 | DEPENDS_virtclass-native = "" |
| 12 | 19 | ||
| 13 | INC_PR = "r0" | 20 | INC_PR = "r1" |
| 14 | 21 | ||
| 15 | SHRT_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}" | 22 | SHRT_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}" |
| 16 | SRC_URI = "ftp://ftp.ruby-lang.org/pub/ruby/${SHRT_VER}/ruby-${PV}.tar.gz \ | 23 | SRC_URI = "http://ftp.ruby-lang.org/pub/ruby/${SHRT_VER}/ruby-${PV}.tar.gz \ |
| 17 | file://extmk_run.patch \ | 24 | file://extmk_run.patch \ |
| 18 | file://extmk.patch \ | 25 | file://extmk.patch \ |
| 19 | " | 26 | " |
| @@ -22,8 +29,6 @@ S = "${WORKDIR}/ruby-${PV}" | |||
| 22 | 29 | ||
| 23 | inherit autotools | 30 | inherit autotools |
| 24 | 31 | ||
| 25 | # fix building of socket extension | ||
| 26 | EXTRA_OECONF = "--enable-wide-getaddrinfo" | ||
| 27 | 32 | ||
| 28 | # This snippet lets compiled extensions which rely on external libraries, | 33 | # This snippet lets compiled extensions which rely on external libraries, |
| 29 | # such as zlib, compile properly. If we don't do this, then when extmk.rb | 34 | # such as zlib, compile properly. If we don't do this, then when extmk.rb |
