updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / blitz-cvs / PKGBUILD
blob53d00c8ce669ceecb653758af77c2c2304f43ef1
1 # Maintainer: bastikr <basti.kr@gmail.com>
3 pkgname=blitz-cvs
4 pkgver=20101125
5 pkgrel=1
6 pkgdesc="C++ Class library for scientific computing"
7 arch=('i686' 'x86_64')
8 url="http://www.oonumerics.org/blitz/"
9 license=('GPL''custom')
10 depends=('gcc')
11 makedepends=('cvs')
12 options=('!docs' '!libtool')
13 source=()
14 md5sums=()
15 provides=('blitz')
16 conflicts=('blitz')
18 _cvsroot=":pserver:anonymous@blitz.cvs.sourceforge.net:/cvsroot"
19 _cvsmod="blitz"
21 build() {
22   cd $srcdir
23   if [ -d ${_cvsmod}/CVS ]; then
24     cd ${_cvsmod}
25     cvs -q update -dA
26   else
27     cvs -q -z3 -d${_cvsroot}/${_cvsmod} co ${_cvsmod}
28     cd ${_cvsmod}
29   fi
31   autoreconf -vif
33   # Install license
34   install -D -m644 LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
36   ./configure CXX=g++ --prefix=/usr --enable-64bit --enable-html-docs=no --enable-doxygen=no|| return 1
37   make DESTDIR=$startdir/pkg install || return 1
38   rm -rf $pkgdir/usr/lib/pkgconfig