Advertisement
Guest User

Untitled

a guest
Dec 22nd, 2010
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.69 KB | None | 0 0
  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:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement