Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Feb 3rd, 2011  |  syntax: Bash  |  size: 0.80 KB  |  hits: 44  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Tianyi Cui <tianyicui@gmail.com>
  2. # Contributor: pumbur <free@pumbur.net>
  3. # Contributor: henning mueller <henning@orgizm.net>
  4.  
  5. pkgname='rubinius'
  6. pkgver=1.2.0
  7. pkgrel=2
  8. pkgdesc="Rubinius, the Ruby VM"
  9. arch=('i686' 'x86_64')
  10. license=('BSD')
  11. url="http://rubini.us/"
  12. source=(http://asset.rubini.us/rubinius-1.2.0-20101221.tar.gz)
  13. md5sums=(4284c2660f1f648942de35d4fc871f70)
  14. depends=(openssl readline)
  15. makedepends=(ruby bison zlib)
  16.  
  17. build(){
  18.   cd $srcdir/$pkgname-$pkgver
  19.   sed -i 's|-Werror||' rakelib/vm.rake
  20.   ./configure \
  21.     --skip-system \
  22.     --prefix=/usr/lib \
  23.     --bindir=/usr/bin \
  24.     --mandir=/usr/share/man \
  25.     --includedir=/usr/include/$pkgname
  26. }
  27.  
  28. package(){
  29.   cd $srcdir/$pkgname-$pkgver
  30.   FAKEROOT="$pkgdir/" rake install
  31.   find $pkgdir/usr/bin -type l | xargs rm
  32. }