updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / ocaml-bolt / PKGBUILD
blobe74258eae9dc003061432fef1cbe37794a0ca22a
1 # Maintainer: Taylor Venable <taylor@metasyntax.net>
3 srcname='bolt'
4 pkgname="ocaml-${srcname}"
5 pkgver=1.2
6 pkgrel=1
7 pkgdesc='A logging tool for the OCaml language that is modeled after log4j'
8 arch=('i686' 'x86_64')
9 url='http://bolt.x9c.fr/'
10 license=('LGPL3')
11 depends=('ocaml>=3.12.1')
12 makedepends=('ocaml-findlib')
13 source=('http://bolt.x9c.fr/distrib/bolt-1.2.tar.gz')
14 options=('!strip')
15 md5sums=('3cf14ece1f1b60be7e25dfe9613dc0dd')
17 build() {
18     cd "$srcdir/${srcname}-${pkgver}"
19     chmod +x configure
20     ./configure
22     env DESTDIR="$pkgdir" \
23         OCAMLFIND_DESTDIR="$pkgdir/$(ocamlfind printconf destdir)" \
24         make
28 package() {
29     mkdir -p "$pkgdir/$(ocamlfind printconf destdir)"
31     cd "$srcdir/${srcname}-${pkgver}"
33     env DESTDIR="$pkgdir" \
34         OCAMLFIND_DESTDIR="$pkgdir/$(ocamlfind printconf destdir)" \
35         make install