void-packages/srcpkgs/ruby/template
Juan RP 98a43ffea0 ruby: added patch for openssl-1.0.0.
--HG--
extra : convert_revision : f41e9acdc3a87e08289b246f40dd63f0952ae070
2010-04-25 17:53:11 +02:00

41 lines
1.3 KiB
Text

# Template build file for 'ruby'.
pkgname=ruby
ruby_ver="1.9.1"
ruby_distpatchver="p376"
ruby_distver="${ruby_ver}-${ruby_distpatchver}"
version=${ruby_ver}${ruby_distpatchver}
wrksrc="${pkgname}-${ruby_distver}"
distfiles="ftp://ftp.ruby-lang.org/pub/ruby/1.9/$pkgname-${ruby_distver}.tar.gz"
build_style=gnu_configure
configure_args="--enable-pthread --enable-shared --disable-rpath"
short_desc="Ruby programming language"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=58b8fc1645283fcf3d5be195dffcaf55b7c85cbc210074273b57b835409b21ca
long_desc="
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."
subpackages="ruby-devel ruby-gems ruby-irb ruby-rdoc ruby-ri"
Add_dependency run glibc
Add_dependency run db
Add_dependency run gdbm
Add_dependency run openssl
Add_dependency run zlib
Add_dependency run readline
Add_dependency run ncursesw
Add_dependency run ncurses-libs
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
pre_configure()
{
export PATH="/usr/bin:/bin:$PATH"
}