Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Dec 22nd, 2010  |  syntax: Bash  |  size: 0.69 KB  |  hits: 54  |  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. # Contributor: Guillem Rieu <guillemr@gmx.net>
  2. pkgname=menhir
  3. pkgver=20090505
  4. pkgrel=1
  5. pkgdesc="Menhir is a LR(1) parser generator for the Objective Caml programming language."
  6. arch=("i686" "x86_64")
  7. url="http://cristal.inria.fr/~fpottier/menhir/"
  8. license=('GPL' 'QPL')
  9. depends=('ocaml>=3.09' 'ocaml-findlib')
  10. source=(http://cristal.inria.fr/~fpottier/menhir/$pkgname-$pkgver.tar.gz)
  11. md5sums=('68a026b30aca4098ffefc9ff9346df43')
  12.  
  13. build() {
  14.   cd "$startdir/src/$pkgname-$pkgver"
  15.  
  16.   make PREFIX="/usr" all || return 1
  17.         mkdir -p $pkgdir$(ocamlfind printconf destdir)
  18.   OCAMLFIND_DESTDIR=$pkgdir$(ocamlfind printconf destdir) make PREFIX="$startdir/pkg/usr" install
  19. }
  20.  
  21. # vim:set ts=2 sw=2 et: