1 # Contributor: Simon Legner <Simon.Legner@gmail.com>
2 # Maintainer: Simon Legner <Simon.Legner@gmail.com>
6 pkgdesc="A stub code generator and COM binding for Objective Caml (OCaml)"
8 url="http://caml.inria.fr/pub/old_caml_site/camlidl/"
20 source=(http://caml.inria.fr/pub/old_caml_site/distrib/bazar-ocaml/$pkgname-$pkgver.tar.gz)
22 md5sums=('4cfb863bc3cbdc1af2502042c45cc675')
25 cd "$srcdir/$pkgname-$pkgver"
27 cp config/Makefile.unix config/Makefile
29 BINDIR="$pkgdir/usr/bin"
30 OCAMLLIB="$pkgdir`ocamlc -where`"
31 mkdir -p $BINDIR $OCAMLLIB/caml
32 install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
33 make BINDIR=$BINDIR OCAMLLIB=$OCAMLLIB install
36 # vim:set ts=2 sw=2 et: