1 # Maintainer: Taylor Venable <taylor@metasyntax.net>
4 pkgname="ocaml-${srcname}"
7 pkgdesc='An extensible Web server written in OCaml'
9 url='http://ocsigen.org/'
11 depends=('ocaml' 'ocaml-ocsigenserver>=2.0.2' 'ocaml-deriving-ocsigen>=0.3b' 'ocaml-js_of_ocaml>=1.0.9' 'ocaml-calendar')
12 makedepends=('ocaml-findlib')
14 provides="ocaml-${srcname}"
15 conflicts="ocaml-${srcname}"
18 source=("http://ocsigen.org/download/${srcname}-${pkgver}.tar.gz")
19 md5sums=('b276a0708b0fab5aa0fe98307456640c')
22 cd "${srcdir}/${srcname}-${pkgver}"
24 ./configure --prefix /usr \
25 --temproot "$pkgdir" \
27 make BINDIR="${pkgdir}/usr/bin"
28 make BINDIR="${pkgdir}/usr/bin" doc
33 mkdir -p "${pkgdir}/$(ocamlfind printconf destdir)"
34 mkdir -p "${pkgdir}/usr/bin"
36 cd "$srcdir/${srcname}-${pkgver}"
37 make BINDIR="${pkgdir}/usr/bin" install
38 make BINDIR="${pkgdir}/usr/bin" install.doc