updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / ocaml-samplerate / PKGBUILD
blob8dfb5390c26ac33b9581d60060afb9e9133fd71b
1 # Maintainer: Thomas S Hatch <thatch45 at gmail dot com>
2 pkgname=ocaml-samplerate
3 pkgver=0.1.1
4 pkgrel=1
5 arch=('i686' 'x86_64')
6 license=('GPL')
7 pkgdesc="OCaml libs for samplerate."
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=('7521d8efadcc6aca77ba078121d63b8e')
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