X-Git-Url: http://gitweb/?a=blobdiff_plain;f=ruby%2FPkgfile;h=ffbdcfcbe12f6601d045e149e516f57a96aa7f70;hb=ff440eb80813653fceb1930e39d2b48563aed158;hp=8336ab2d72504a9baae7dcece9443c6fe6e525df;hpb=e8a97544f8e667a555db8bda73495714843db267;p=ports%2Fopt-arm.git diff --git a/ruby/Pkgfile b/ruby/Pkgfile index 8336ab2..ffbdcfc 100644 --- a/ruby/Pkgfile +++ b/ruby/Pkgfile @@ -5,22 +5,19 @@ # Depends on: gdbm ncurses openssl readline zlib libffi libyaml name=ruby -version=1.9.3-p448 +version=2.5.1 release=1 -source=(ftp://ftp.ruby-lang.org/pub/$name/1.9/$name-$version.tar.bz2 \ - $name-arch.patch) +source=(http://cache.ruby-lang.org/pub/$name/${version%.*}/$name-$version.tar.xz) build () { - cd $name-$version + cd $name-$version - patch -p0 -i $SRC/$name-arch.patch + ./configure --prefix=/usr \ + --mandir=/usr/man \ + --enable-shared \ + --disable-install-doc \ + --with-ruby-version=minor - ./configure --prefix=/usr \ - --mandir=/usr/man \ - --enable-shared \ - --disable-install-doc \ - --with-ruby-version=minor - - make - make DESTDIR=$PKG install + make + make DESTDIR=$PKG install }