updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / ocaml-eliom / PKGBUILD
blobceec7be390afc91b84053947d4947f2fe31d5030
1 # Maintainer: Taylor Venable <taylor@metasyntax.net>
3 srcname='eliom'
4 pkgname="ocaml-${srcname}"
5 pkgver='2.0.2'
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-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}"
17 options=('!strip')
18 source=("http://ocsigen.org/download/${srcname}-${pkgver}.tar.gz")
19 md5sums=('b276a0708b0fab5aa0fe98307456640c')
21 build() {
22   cd "${srcdir}/${srcname}-${pkgver}"
23   chmod +x configure
24   ./configure --prefix /usr \
25               --temproot "$pkgdir" \
27   make BINDIR="${pkgdir}/usr/bin"
28   make BINDIR="${pkgdir}/usr/bin" doc
32 package() {
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