2008-10-04 04:29:49 +00:00
|
|
|
# Template build file for 'ruby'.
|
|
|
|
pkgname=ruby
|
2009-04-18 23:23:01 +00:00
|
|
|
ruby_ver="1.9.1"
|
2010-02-18 03:47:45 +00:00
|
|
|
ruby_distpatchver="p376"
|
2009-04-18 23:23:01 +00:00
|
|
|
ruby_distver="${ruby_ver}-${ruby_distpatchver}"
|
|
|
|
version=${ruby_ver}${ruby_distpatchver}
|
2010-11-02 07:31:35 +00:00
|
|
|
revision=1
|
2009-03-03 00:19:14 +00:00
|
|
|
wrksrc="${pkgname}-${ruby_distver}"
|
|
|
|
distfiles="ftp://ftp.ruby-lang.org/pub/ruby/1.9/$pkgname-${ruby_distver}.tar.gz"
|
2008-09-30 03:58:50 +00:00
|
|
|
build_style=gnu_configure
|
2009-04-18 23:23:01 +00:00
|
|
|
configure_args="--enable-pthread --enable-shared --disable-rpath"
|
2008-09-30 03:58:50 +00:00
|
|
|
short_desc="Ruby programming language"
|
2009-03-02 23:05:47 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2010-02-18 03:47:45 +00:00
|
|
|
checksum=58b8fc1645283fcf3d5be195dffcaf55b7c85cbc210074273b57b835409b21ca
|
2008-09-30 03:58:50 +00:00
|
|
|
long_desc="
|
2009-04-18 23:23:01 +00: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 16:32:35 +00:00
|
|
|
|
2010-02-18 03:47:45 +00:00
|
|
|
subpackages="ruby-devel ruby-gems ruby-irb ruby-rdoc ruby-ri"
|
|
|
|
|
|
|
|
Add_dependency run glibc
|
2010-12-11 01:28:30 +00:00
|
|
|
Add_dependency run libdb
|
2010-02-18 03:47:45 +00:00
|
|
|
Add_dependency run gdbm
|
2010-11-02 07:31:35 +00:00
|
|
|
Add_dependency run libssl
|
2010-02-18 03:47:45 +00:00
|
|
|
Add_dependency run zlib
|
|
|
|
Add_dependency run readline
|
|
|
|
Add_dependency run ncursesw
|
2009-03-03 00:19:14 +00:00
|
|
|
Add_dependency run ncurses-libs
|
2010-11-02 07:31:35 +00:00
|
|
|
|
2010-02-18 03:47:45 +00: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 15:53:11 +00:00
|
|
|
|
|
|
|
pre_configure()
|
|
|
|
{
|
|
|
|
export PATH="/usr/bin:/bin:$PATH"
|
|
|
|
}
|