summaryrefslogtreecommitdiff
path: root/community/libmatio/PKGBUILD
blob: 35563bd11d94b09c2cfd98c69fe0c223f6ef0f02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $Id: PKGBUILD 59370 2011-11-23 21:07:37Z andrea $
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: William Rea <sillywilly@gmail.com>

pkgname=libmatio
pkgver=1.3.3
pkgrel=2
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=('gcc-libs')
makedepends=('gcc-fortran')
options=('!libtool')
source=(http://downloads.sourceforge.net/sourceforge/matio/matio-$pkgver.tar.gz)
md5sums=('5c12a98f391de000e88b5a1b20d74abf')

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