1 # Contributor: Guillem Rieu <guillemr@gmx.net>
2 # Contributor: Sergey Plaksin <serp256@gmail.com>
3 # Contributor: Nicolas Pouillard <nicolas.pouillard@gmail.com>
8 pkgdesc="Menhir is a LR(1) parser generator for the Objective Caml programming language."
10 url="http://cristal.inria.fr/~fpottier/menhir/"
12 depends=('ocaml>=3.09')
13 makedepends=('ocaml-findlib')
14 options=(!strip !makeflags)
15 source=(http://cristal.inria.fr/~fpottier/menhir/$pkgname-$pkgver.tar.gz)
16 md5sums=('68a026b30aca4098ffefc9ff9346df43')
18 OCAMLFIND_DESTDIR="${pkgdir}$(ocamlfind printconf destdir)"
21 cd "$srcdir/$pkgname-$pkgver"
22 mkdir -p "$OCAMLFIND_DESTDIR"
23 make PREFIX="/usr" all || return 1
27 cd "$srcdir/$pkgname-$pkgver"
28 env OCAMLFIND_DESTDIR="$OCAMLFIND_DESTDIR" \
29 make PREFIX="$pkgdir/usr" install
32 # vim:set ts=2 sw=2 et: