updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / ocaml-eliom-dev / PKGBUILD
bloba973ad0b9fb220ee453ae29bc79d849bdc933f2f
1 # Maintainer: Taylor Venable <taylor@metasyntax.net>
3 srcname='eliom'
4 pkgname="ocaml-${srcname}-dev"
5 pkgver=2.0_rc2
6 pkgrel=1
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-dev' 'ocaml-deriving-ocsigen' 'ocaml-js_of_ocaml' 'ocaml-calendar')
12 makedepends=('ocaml-findlib')
13 provides="ocaml-${srcname}"
14 conflicts="ocaml-${srcname}"
15 options=('!strip')
16 #install="${pkgname}.install"
17 source=("http://ocsigen.org/download/${srcname}-${pkgver//_/-}.tar.gz")
18 md5sums=('04a7fd438d4c95c7b505b358e1c31b10')
20 build() {
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
30 package() {
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