void-packages/srcpkgs/ruby/template

44 lines
1.3 KiB
Plaintext
Raw Normal View History

# 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}
revision=1
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 libssl
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"
}