1 # Maintainer: Taylor Venable <taylor@metasyntax.net>
4 pkgname="ocaml-${srcname}-dev"
7 pkgdesc='An extensible Web server written in OCaml'
9 url='http://ocsigen.org/'
11 depends=('ocaml' 'ocaml-ocsigenserver-dev' 'ocaml-deriving-ocsigen' 'ocaml-js_of_ocaml' 'ocaml-calendar')
12 makedepends=('ocaml-findlib')
13 provides="ocaml-${srcname}"
14 conflicts="ocaml-${srcname}"
16 #install="${pkgname}.install"
17 source=("http://ocsigen.org/download/${srcname}-${pkgver//_/-}.tar.gz")
18 md5sums=('04a7fd438d4c95c7b505b358e1c31b10')
21 cd "${srcdir}/${srcname}-${pkgver//_/-}"
22 ./configure --prefix /usr \
23 --temproot "$pkgdir" \
25 make BINDIR="${pkgdir}/usr/bin"
26 make BINDIR="${pkgdir}/usr/bin" doc
31 mkdir -p "${pkgdir}/$(ocamlfind printconf destdir)"
32 mkdir -p "${pkgdir}/usr/bin"
34 cd "$srcdir/${srcname}-${pkgver//_/-}"
35 make BINDIR="${pkgdir}/usr/bin" install
36 make BINDIR="${pkgdir}/usr/bin" install.doc