# $Id: PKGBUILD 70169 2012-05-01 11:20:31Z andrea $
# Maintainer:
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: William Rea <sillywilly@gmail.com>

pkgname=libmatio
pkgver=1.5.0
pkgrel=1
pkgdesc="A C library with a fortran 90/95 module interface for reading/writing MATLAB MAT-files"
arch=('i686' 'x86_64')
license=('LGPL')
url="http://sourceforge.net/projects/matio"
depends=('zlib')
options=('!libtool')
source=("http://downloads.sourceforge.net/matio/matio-$pkgver.tar.gz")
sha1sums=('70dbf09984ade6adfb38c1b62ae5585ff7f85e05')

build() {
  cd "${srcdir}"/matio-$pkgver
  ./configure --prefix=/usr --enable-shared 
  make
}
 
package() {
  cd "${srcdir}"/matio-$pkgver
  make DESTDIR="${pkgdir}" install
}
