ruby: update to 1.9.2p136.

This commit is contained in:
Juan RP 2010-12-28 11:58:02 +01:00
parent 58ec3769b9
commit 1f21e00bbd
3 changed files with 9 additions and 12 deletions

View file

@ -16,9 +16,10 @@ Add_dependency run ruby
do_install() do_install()
{ {
mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/lib/ruby/1.9.1 mkdir -p ${DESTDIR}/usr/{lib,share} ${DESTDIR}/usr/lib/ruby/1.9.1
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/*.a ${DESTDIR}/usr/lib mv ${SRCPKGDESTDIR}/usr/lib/*.a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/ruby/1.9.1/mkmf.rb \ mv ${SRCPKGDESTDIR}/usr/lib/ruby/1.9.1/mkmf.rb \
${DESTDIR}/usr/lib/ruby/1.9.1 ${DESTDIR}/usr/lib/ruby/1.9.1
mv ${SRCPKGDESTDIR}/usr/share/doc ${DESTDIR}/usr/share
} }

View file

@ -1,17 +1,16 @@
# Template build file for 'ruby'. # Template build file for 'ruby'.
pkgname=ruby pkgname=ruby
ruby_ver="1.9.1" ruby_ver="1.9.2"
ruby_distpatchver="p376" ruby_distpatchver="p136"
ruby_distver="${ruby_ver}-${ruby_distpatchver}" ruby_distver="${ruby_ver}-${ruby_distpatchver}"
version=${ruby_ver}${ruby_distpatchver} version=${ruby_ver}${ruby_distpatchver}
revision=1
wrksrc="${pkgname}-${ruby_distver}" wrksrc="${pkgname}-${ruby_distver}"
distfiles="ftp://ftp.ruby-lang.org/pub/ruby/1.9/$pkgname-${ruby_distver}.tar.gz" distfiles="ftp://ftp.ruby-lang.org/pub/ruby/1.9/$pkgname-${ruby_distver}.tar.gz"
build_style=gnu_configure build_style=gnu_configure
configure_args="--enable-pthread --enable-shared --disable-rpath" configure_args="--enable-pthread --enable-shared --disable-rpath"
short_desc="Ruby programming language" short_desc="Ruby programming language"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
checksum=58b8fc1645283fcf3d5be195dffcaf55b7c85cbc210074273b57b835409b21ca checksum=c4314df44f3ab81230685fb51c296ce21034f4c719e2fcc0baba221d19f28746
long_desc=" long_desc="
Ruby is the interpreted scripting language for quick and easy object Ruby is the interpreted scripting language for quick and easy object
oriented programming. It has many features to process text files and to oriented programming. It has many features to process text files and to
@ -27,17 +26,14 @@ Add_dependency run libssl
Add_dependency run zlib Add_dependency run zlib
Add_dependency run readline Add_dependency run readline
Add_dependency run ncursesw Add_dependency run ncursesw
Add_dependency run ncurses-libs Add_dependency run libffi
Add_dependency build db-devel Add_dependency build db-devel
Add_dependency build gdbm-devel Add_dependency build gdbm-devel
Add_dependency build openssl-devel Add_dependency build openssl-devel
Add_dependency build zlib-devel Add_dependency build zlib-devel
Add_dependency build readline-devel Add_dependency build readline-devel
Add_dependency build ncurses-devel
Add_dependency build ncursesw-devel Add_dependency build ncursesw-devel
Add_dependency build libffi-devel
pre_configure() Add_dependency build groff
{ Add_dependency build doxygen
export PATH="/usr/bin:/bin:$PATH"
}