updated on Mon Jan 16 12:07:49 UTC 2012
[aur-mirror.git] / ocaml-ocsigenserver-dev / PKGBUILD
blobcbf708dac3fb57acead0edb56fc6303c69a1d689
1 # Maintainer: Taylor Venable <taylor@metasyntax.net>
3 srcname='ocsigenserver'
4 pkgname="ocaml-${srcname}-dev"
5 pkgver=2.0_rc1
6 pkgrel=2
7 pkgdesc='An extensible Web server written in OCaml'
8 arch=('i686' 'x86_64')
9 url='http://ocsigen.org/'
10 license=('LGPL')
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")
16 options=('!strip')
17 install="${pkgname}.install"
18 source=("http://ocsigen.org/download/${srcname}-${pkgver//_/-}.tar.gz")
19 md5sums=('44c7c8f2bcef40cdb3c80d1e47198228')
21 build() {
22   cd "$srcdir/${srcname}-${pkgver//_/-}"
23   ./configure --prefix /usr \
24               --temproot "$pkgdir" \
25               --ocsigen-user root \
26               --ocsigen-group root \
27               --staticpagesdir "/srv/${srcname}"
29   make
30   make doc
34 package() {
35   mkdir -p "$pkgdir/$(ocamlfind printconf destdir)"
37   cd "$srcdir/${srcname}-${pkgver//_/-}"
38   make install
39   make install.doc