2008-10-04 06:29:49 +02:00
|
|
|
# Template build file for 'ruby'.
|
|
|
|
pkgname=ruby
|
2009-04-19 01:23:01 +02:00
|
|
|
ruby_ver="1.9.1"
|
2010-02-18 04:47:45 +01:00
|
|
|
ruby_distpatchver="p376"
|
2009-04-19 01:23:01 +02:00
|
|
|
ruby_distver="${ruby_ver}-${ruby_distpatchver}"
|
|
|
|
version=${ruby_ver}${ruby_distpatchver}
|
2010-11-02 08:31:35 +01:00
|
|
|
revision=1
|
2009-03-03 01:19:14 +01:00
|
|
|
wrksrc="${pkgname}-${ruby_distver}"
|
|
|
|
distfiles="ftp://ftp.ruby-lang.org/pub/ruby/1.9/$pkgname-${ruby_distver}.tar.gz"
|
2008-09-30 05:58:50 +02:00
|
|
|
build_style=gnu_configure
|
2009-04-19 01:23:01 +02:00
|
|
|
configure_args="--enable-pthread --enable-shared --disable-rpath"
|
2008-09-30 05:58:50 +02:00
|
|
|
short_desc="Ruby programming language"
|
2009-03-03 00:05:47 +01:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2010-02-18 04:47:45 +01:00
|
|
|
checksum=58b8fc1645283fcf3d5be195dffcaf55b7c85cbc210074273b57b835409b21ca
|
2008-09-30 05:58:50 +02:00
|
|
|
long_desc="
|
2009-04-19 01:23:01 +02:00
|
|
|
Ruby is the interpreted scripting language for quick and easy object
|
|
|
|
oriented programming. It has many features to process text files and to
|
|
|
|
do system management tasks (as in Perl). It is simple, straight-forward
|
|
|
|
and extensible."
|
2008-10-24 18:32:35 +02:00
|
|
|
|
2010-02-18 04:47:45 +01:00
|
|
|
subpackages="ruby-devel ruby-gems ruby-irb ruby-rdoc ruby-ri"
|
|
|
|
|
|
|
|
Add_dependency run glibc
|
|
|
|
Add_dependency run db
|
|
|
|
Add_dependency run gdbm
|
2010-11-02 08:31:35 +01:00
|
|
|
Add_dependency run libssl
|
2010-02-18 04:47:45 +01:00
|
|
|
Add_dependency run zlib
|
|
|
|
Add_dependency run readline
|
|
|
|
Add_dependency run ncursesw
|
2009-03-03 01:19:14 +01:00
|
|
|
Add_dependency run ncurses-libs
|
2010-11-02 08:31:35 +01:00
|
|
|
|
2010-02-18 04:47:45 +01:00
|
|
|
Add_dependency build db-devel
|
|
|
|
Add_dependency build gdbm-devel
|
|
|
|
Add_dependency build openssl-devel
|
|
|
|
Add_dependency build zlib-devel
|
|
|
|
Add_dependency build readline-devel
|
|
|
|
Add_dependency build ncurses-devel
|
|
|
|
Add_dependency build ncursesw-devel
|
2010-04-25 17:53:11 +02:00
|
|
|
|
|
|
|
pre_configure()
|
|
|
|
{
|
|
|
|
export PATH="/usr/bin:/bin:$PATH"
|
|
|
|
}
|