updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / blitz / PKGBUILD
blob2b224a8eb52a12b447c8d5c77231e88c0ed8c946
1 # Contributor: Gleidson <gleidson_el@yahoo.com.br>
2 # Maintainer: Garns <henning.garus@gmail.com>
4 pkgname=blitz
5 pkgver=0.9
6 pkgrel=3
7 pkgdesc="C++ Class library for scientific computing"
8 arch=('i686' 'x86_64')
9 url="http://www.oonumerics.org/blitz/"
10 license=('GPL''custom')
11 depends=('gcc')
12 options=('!docs' '!libtool')
13 source=(http://downloads.sourceforge.net/sourceforge/blitz/blitz-$pkgver.tar.gz
14  'header.patch')
15 md5sums=('031df2816c73e2d3bd6d667bbac19eca'
16          'd2a443f1afab6c1d644299ef4bd7a0a0')
18 build() {
19   cd $srcdir
20   patch -p1 < header.patch
21   cd $srcdir/blitz-$pkgver
23   # Install license
24   install -D -m644 LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
25   
26   ./configure CXX=g++ --prefix=/usr --enable-shared --enable-64bit || return 1
27   make DESTDIR=$startdir/pkg install || return 1
28   rm -rf $pkgdir/usr/lib/pkgconfig