updated on Wed Jan 25 20:08:56 UTC 2012
[aur-mirror.git] / ocaml-oasis / PKGBUILD
blob2e6e1cfae24604966f524a34ab35ed1eee1474a6
1 # Maintainer: Sergei Lebedev <superbobry@gmail.com>
2 # Contributor: Magnus Therning <magnus@therning.org>
4 pkgname=ocaml-oasis
5 pkgver=0.2.0
6 pkgrel=6
7 pkgdesc='Architecture for building OCaml libraries and applications.'
8 arch=('i686' 'x86_64')
9 url=("http://oasis.forge.ocamlcore.org")
10 license=('LGPL')
11 depends=('glibc' 'pcre')
12 makedepends=('ocaml'
13              'ocaml-extlib'
14              'ocaml-fileutils>=0.4.2'
15              'ocaml-findlib'
16              'ocaml-ocamlgraph'
17              'ocaml-ocamlify'
18              'ocaml-odn>=0.0.3'
19              'ocaml-ounit'
20              'ocaml-pcre'
21              'ocaml-expect')
22 source=("http://forge.ocamlcore.org/frs/download.php/501/oasis-$pkgver.tar.gz")
23 md5sums=('e5d04bfe41eacd4f58a156784700a2ba')
24 options=(!strip)
26 build() {
27   cd "$srcdir/${pkgname/ocaml-/}-$pkgver"
29   make CONFIGUREFLAGS="--prefix /usr --destdir $pkgdir" build
32 package() {
33   cd "$srcdir/${pkgname/ocaml-/}-$pkgver"
35   export OCAMLFIND_DESTDIR="$pkgdir$(ocamlfind printconf destdir)"
36   install -dm755 "$OCAMLFIND_DESTDIR"
37   make install