diff --git a/templates/ruby/template b/templates/ruby/template index c6415a4e992..7be447ca1c5 100644 --- a/templates/ruby/template +++ b/templates/ruby/template @@ -1,26 +1,26 @@ # Template build file for 'ruby'. pkgname=ruby +ruby_ver="1.9.1" ruby_distpatchver="p0" -ruby_distver="1.9.1-${ruby_distpatchver}" -version=1.9.1${ruby_distpatchver} +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 -# Override --exec-prefix to install it into the correct location. -configure_args="--enable-pthread --enable-shared --disable-rpath - --exec-prefix=$XBPS_DESTDIR/$pkgname-$version/usr" +configure_args="--enable-pthread --enable-shared --disable-rpath" short_desc="Ruby programming language" maintainer="Juan RP " checksum=a5485951823c8c22ddf6100fc9e10c7bfc85fb5a4483844033cee0fad9e292cc 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." + 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." Add_dependency full glibc Add_dependency full gdbm Add_dependency full openssl Add_dependency full zlib +Add_dependency full readline Add_dependency build ncurses Add_dependency run ncurses-libs