updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / mingw32-gsl / PKGBUILD
blobb716d110c12270de1e975262546f179b49f13efb
1 # Contributor: Ricardo Honorato <rikardo.horo@gmail.com>
3 pkgname=mingw32-gsl
4 pkgver=1.13
5 pkgrel=1
6 pkgdesc="The GNU Scientific Library (GSL) is a modern numerical library for C and C++ programmers"
7 url="http://www.gnu.org/software/gsl/gsl.html"
8 source=(http://ftp.belnet.be/mirror/ftp.gnu.org/gnu/gsl/gsl-$pkgver.tar.gz)
9 license=('GPL')
10 arch=('i686' 'x86_64')
11 depends=('glibc' 'bash')
12 options=('!libtool')
13 md5sums=('d9fcfa367c44ab68a25b4edf34c3c5f7')
15 build() {
16     cd ${srcdir}/gsl-${pkgver}
17     CC="i486-mingw32-g++" AR="i486-mingw32-ar" RANLIB="i486-mingw32-ranlib" ./configure \
18         --build=`./config.guess` --host=i486-mingw32 --prefix=/usr/i486-mingw32
19     make || return 1
20     make DESTDIR=${pkgdir} install || return 1