updated on Sat Jan 21 04:00:54 UTC 2012
[aur-mirror.git] / ocaml-speex / PKGBUILD
blob229c1c0daa17ef772d737b3d5edde9821fb7ee50
1 # Maintainer: Thomas S Hatch <thatch45 at gmail dot com>
2 pkgname=ocaml-speex
3 pkgver=0.1.2
4 pkgrel=1
5 arch=('i686' 'x86_64')
6 license=('GPL')
7 pkgdesc="OCaml libs for speex."
8 url="http://savonet.sourceforge.net/"
9 depends=('ocaml')
10 makedepends=('ocaml-findlib')
11 options=('!strip' '!makeflags')
12 source=("http://downloads.sourceforge.net/savonet/${pkgname}-${pkgver}.tar.gz")
13 md5sums=('6df05fbce350b1bd8d9e6cea8a0e9345')
15 OCAMLFIND_DESTDIR="${pkgdir}$(ocamlfind printconf destdir)"
17 build() {
18   cd "${srcdir}/${pkgname}-${pkgver}"
19   ./configure --prefix=/usr
20   make all
23 package() {
24   cd "${srcdir}/${pkgname}-${pkgver}"
25   mkdir -p $OCAMLFIND_DESTDIR
26   make \
27     OCAMLFIND_DESTDIR=$OCAMLFIND_DESTDIR \
28     OCAMLFIND_LDCONF=ignore \
29     install