1 # Contributor: Stefan Husmann <stefan-husmann@t-online.de>
5 pkgdesc="C++ matrix library"
6 url="http://www.robertnz.net"
9 source=(http://www.robertnz.net/ftp/$pkgname$pkgver.tar.gz filelist)
10 md5sums=('cc7408a10ee3d4775fc5f86e523bf56a' '1257a4599e437254666aeac610b7d5c5')
13 sed -i 's+//#define use_namespace+#define use_namespace+' include.h || return 1
14 for _i in `cat filelist | awk '{print $1}'`
16 install -Dm644 ${_i} $pkgdir/usr/include/$pkgname/${_i} || return 1
18 install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING || return 1
19 make -f nm_gnu.mak || return 1
20 install -Dm644 libnewmat.a $pkgdir/usr/lib/libnewmat.a || return 1