summaryrefslogtreecommitdiff
path: root/community/libmatio/PKGBUILD
blob: 3081906756d6e6c23ed3298c38b2b086909c1a6d (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
29
30
31
32
33
34
# $Id: PKGBUILD 88815 2013-04-23 01:03:57Z eric $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: William Rea <sillywilly@gmail.com>

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

build() {
  cd matio-$pkgver
  ./configure --prefix=/usr --enable-shared 
  make
}

check() {
  cd matio-$pkgver
  make check
}
 
package() {
  cd matio-$pkgver
  make DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2 et: