1 # Maintainer: spider-mario <spidermario@free.fr>
2 # Contributor: Guillem Rieu <guillemr@gmx.net>
8 pkgdesc="A modified version of OCaml with CDuce features."
10 url="http://www.cduce.org/ocaml"
11 license=('custom:MIT')
13 depends=('ocaml' 'ocaml-findlib' 'ocaml-pcre' 'ulex' 'ocamlnet' 'ocaml-pxp')
14 options=('!strip' '!makeflags')
15 source=(http://www.cduce.org/download/$_name-$_ver.tar.gz
16 http://caml.inria.fr/pub/distrib/ocaml-3.12/ocaml-3.12.0.tar.gz)
17 md5sums=('5506326db28419b3f578ff225417448f'
18 '3ba7cc65123c3579f14e7c726d3ee782')
21 cd "$srcdir/$_name-$_ver"
23 ./configure --prefix=/usr --mliface="$srcdir/ocaml-3.12.0"
28 cd "$srcdir/$_name-$_ver"
30 export OCAMLFIND_DESTDIR="$pkgdir/$(ocamlfind printconf destdir)"
32 mkdir -p "$pkgdir/$OCAMLFIND_DESTDIR"
34 make BINDIR="$pkgdir/usr/bin" MANDIR="$pkgdir/usr/share/man" DOCDIR="$pkgdir/usr/share/doc/ocamlduce" install
36 mkdir -p "$pkgdir/usr/share/licenses/ocamlduce"
37 install LICENSE "$pkgdir/usr/share/licenses/ocamlduce/"
40 # vim:set ts=2 sw=2 et: