CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
python3: updated to 3.7.4
[ports/opt-arm.git] / ruby / Pkgfile
index 1b11535955b242d4ac6741f7a59ab9ead54ccb01..bafecaadf09f84ef31f882bd3b21931c8690a334 100644 (file)
@@ -2,25 +2,22 @@
 # URL: http://www.ruby-lang.org
 # Maintainer: Juergen Daubert, jue at crux dot nu
 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
-# Depends on: db gdbm ncurses openssl readline zlib
+# Depends on: gdbm ncurses openssl readline zlib libffi libyaml
 
 name=ruby
-version=1.9.3-p194
+version=2.5.5
 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
 }