1 # Maintainer: Sergei Lebedev <superbobry@gmail.com>
2 # Contributor: Pierre Bourdon <delroth@gmail.com>
4 pkgname=ocaml-bitstring
7 pkgdesc="An OCaml library for Erlang-style bit patterns."
10 url="http://code.google.com/p/bitstring/"
12 makedepends=('time' 'ocaml-findlib')
13 source=("http://bitstring.googlecode.com/files/$pkgname-$pkgver.tar.gz")
14 md5sums=('0c9fa24a0e5201e8bb61f355b9058fe9')
17 cd "$srcdir/$pkgname-$pkgver"
19 ./configure --prefix=/usr
24 cd "$srcdir/$pkgname-$pkgver"
25 export OCAMLFIND_DESTDIR="$pkgdir$(ocamlfind printconf destdir)"
26 install -dm 755 "$OCAMLFIND_DESTDIR/stublibs"
28 install -Dm 644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"