updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / lacaml / PKGBUILD
blobacec19b404cfe43e2397285f4bec0fce723ac8a2
1 # Maintainer: Sergei Lebedev <superbobry@gmail.com>
2 # Contributor: Kostas Andreadis <kmandreadis@gmail.com>
4 pkgname=lacaml
5 pkgver=5.5.2
6 pkgrel=1
7 pkgdesc="BLAS/LAPACK-interface for OCaml"
8 arch=('i686' 'x86_64')
9 url="http://ocaml.info/home/ocaml_sources.html"
10 license=('LGPL')
11 depends=('ocaml' 'lapack' 'blas')
12 makedepends=('ocaml-findlib')
13 source=(http://hg.ocaml.info/release/lacaml/archive/release-${pkgver}.tar.gz)
14 md5sums=('9fbe831791b7d8a636856d33314b19bf')
15 options=(!strip)
17 build() {
18   cd "$srcdir/${pkgname}-release-$pkgver"
19   make
22 package() {
23   cd "$srcdir/${pkgname}-release-$pkgver"
25   export OCAMLFIND_DESTDIR=$pkgdir$(ocamlfind printconf destdir)
26   mkdir -p $OCAMLFIND_DESTDIR/stublibs
27   make install