1 # Maintainer: Taylor Venable <taylor@metasyntax.net>
3 srcname='ocsigenserver'
4 pkgname="ocaml-${srcname}-dev"
7 pkgdesc='An extensible Web server written in OCaml'
9 url='http://ocsigen.org/'
11 depends=('ocaml' 'ocaml-ssl' 'ocamlnet' 'ocaml-react' 'ocaml-lwt' 'ocaml-cryptokit' 'ocaml-tyxml')
12 makedepends=('ocaml-findlib')
13 provides="ocaml-${srcname}"
14 conflicts="ocaml-${srcname}"
15 backup=("etc/${srcname}/${srcname}.conf")
17 install="${pkgname}.install"
18 source=("http://ocsigen.org/download/${srcname}-${pkgver//_/-}.tar.gz")
19 md5sums=('44c7c8f2bcef40cdb3c80d1e47198228')
22 cd "$srcdir/${srcname}-${pkgver//_/-}"
23 ./configure --prefix /usr \
24 --temproot "$pkgdir" \
26 --ocsigen-group root \
27 --staticpagesdir "/srv/${srcname}"
35 mkdir -p "$pkgdir/$(ocamlfind printconf destdir)"
37 cd "$srcdir/${srcname}-${pkgver//_/-}"