diff --git a/templates/ruby/template b/templates/ruby/template index 1cdaed21373..c6415a4e992 100644 --- a/templates/ruby/template +++ b/templates/ruby/template @@ -1,19 +1,26 @@ # Template build file for 'ruby'. pkgname=ruby -version=1.8.7-p72 -distfiles=" -ftp://ftp.ruby-lang.org/pub/ruby/1.8/$pkgname-$version.tar.bz2" +ruby_distpatchver="p0" +ruby_distver="1.9.1-${ruby_distpatchver}" +version=1.9.1${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 +configure_args="--enable-pthread --enable-shared --disable-rpath --exec-prefix=$XBPS_DESTDIR/$pkgname-$version/usr" short_desc="Ruby programming language" maintainer="Juan RP " -checksum=a8f8a28e286dd76747d8e97ea5cfe7a315eb896906ab8c8606d687d9f6f6146e +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." -run_depends="glibc-2.8" +Add_dependency full glibc +Add_dependency full gdbm +Add_dependency full openssl +Add_dependency full zlib +Add_dependency build ncurses +Add_dependency run ncurses-libs