updated on Wed Jan 11 08:01:35 UTC 2012
[aur-mirror.git] / ocaml-cry / PKGBUILD
blobfa6a14610c3c91d766b27f7e9c7f5578aa860517
1 # Maintainer: Thomas S Hatch <thatch45 at gmail dot com>
2 # Contributor: Luciano A. Ferrer <laferrer@gmail.com>
3 pkgname=ocaml-cry
4 pkgver=0.1.5
5 pkgrel=2
6 arch=('i686' 'x86_64')
7 license=('GPL')
8 pkgdesc="This OCaml module is used to interact with icecast2 and shoutcast servers."
9 url="http://savonet.sourceforge.net/"
10 depends=('ocaml')
11 makedepends=('ocaml-findlib')
12 source=("http://downloads.sourceforge.net/savonet/${pkgname}-${pkgver}.tar.gz")
13 md5sums=('6d61084cbf185ec97850f886868a56a1')
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 OCAMLFIND_DESTDIR=$OCAMLFIND_DESTDIR install