updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / o2scl / PKGBUILD
blob6aba265e4b68ffda815c31142935bfeb9c746fe1
1 #制作者:t.cunly
2 #E-mail: piggy1983@163.com
4 pkgname=o2scl
5 pkgver=0.907
6 pkgrel=1
7 pkgdesc="Object-oriented Scientific Computing Lib"
8 url='http://o2scl.sourceforge.net'
9 arch=(i686 x86_64)
10 license=('GPLv3')
11 depends=('gsl')
12 install=o2scl.install
13 source=("http://ftp.heanet.ie/pub/sourceforge/o/project/o2/o2scl/o2scl/Version%200.907%20(beta)/o2scl-0.907.tar.gz")
14 md5sums=('f9d75ef52abab0a8ce25cbe8b9f3d5ff')
16 build()
18         cd ${srcdir}/$pkgname-$pkgver
20         ./configure --libdir=/usr/local/lib/o2scl 
22         make || return 1
23         make DESTDIR=${pkgdir} install || return 1
24         
25         DOCDIR=/usr/share/doc
26         install -d $pkgdir$DOCDIR
27         mv $pkgdir/usr/local/doc/$pkgname $pkgdir$DOCDIR/
28         rm -rf $pkgdir/usr/local/doc