summaryrefslogtreecommitdiff
path: root/community/libmatio/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/libmatio/PKGBUILD')
-rw-r--r--community/libmatio/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/community/libmatio/PKGBUILD b/community/libmatio/PKGBUILD
new file mode 100644
index 000000000..da7660150
--- /dev/null
+++ b/community/libmatio/PKGBUILD
@@ -0,0 +1,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')
+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: