summaryrefslogtreecommitdiff
path: root/community/libmatio/PKGBUILD
blob: 43744b2a6260824ccd97be903f6dc54ff15a366b (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 67968 2012-03-16 13:07:02Z giovanni $
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: William Rea <sillywilly@gmail.com>

pkgname=libmatio
pkgver=1.3.3
pkgrel=3
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 -j1
}
 
package() {
  cd $srcdir/matio-$pkgver
  make DESTDIR=$pkgdir install
}