mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
ruby/ruby2: Updated for version 2.2.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
4c5eb71533
commit
2fe4f9520c
3 changed files with 11 additions and 10 deletions
|
@ -1,15 +1,10 @@
|
|||
============
|
||||
Ruby 2.2.2
|
||||
============
|
||||
|
||||
Ruby is an 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.
|
||||
|
||||
============
|
||||
Notes
|
||||
============
|
||||
======
|
||||
|
||||
This build script will install a newer version of ruby alongside
|
||||
the provided official Slackware ruby package, however it will overwrite
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
PRGNAM=ruby2
|
||||
SRCNAM=ruby
|
||||
VERSION=${VERSION:-2.2.2}
|
||||
VERSION=${VERSION:-2.2.3}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -98,11 +98,17 @@ make install DESTDIR=$PKG
|
|||
( cd $PKG/usr/bin
|
||||
mv ruby ruby2
|
||||
mv rake rake2
|
||||
sed -i '0,/ruby/{s/ruby/ruby2/}' rake2
|
||||
mv irb irb2
|
||||
sed -i '0,/ruby/{s/ruby/ruby2/}' irb2
|
||||
mv gem gem2
|
||||
sed -i '0,/ruby/{s/ruby/ruby2/}' gem2
|
||||
mv erb erb2
|
||||
sed -i '0,/ruby/{s/ruby/ruby2/}' erb2
|
||||
mv rdoc rdoc2
|
||||
sed -i '0,/ruby/{s/ruby/ruby2/}' rdoc2
|
||||
mv ri ri2
|
||||
sed -i '0,/ruby/{s/ruby/ruby2/}' ri2
|
||||
)
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="ruby2"
|
||||
VERSION="2.2.2"
|
||||
VERSION="2.2.3"
|
||||
HOMEPAGE="http://www.ruby-lang.org"
|
||||
DOWNLOAD="http://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.2.tar.gz"
|
||||
MD5SUM="326e99ddc75381c7b50c85f7089f3260"
|
||||
DOWNLOAD="https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.3.tar.gz"
|
||||
MD5SUM="150a5efc5f5d8a8011f30aa2594a7654"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="%README%"
|
||||
|
|
Loading…
Reference in a new issue