1 # Contributor: Ricardo Honorato <rikardo.horo@gmail.com>
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)
10 arch=('i686' 'x86_64')
11 depends=('glibc' 'bash')
13 md5sums=('d9fcfa367c44ab68a25b4edf34c3c5f7')
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
20 make DESTDIR=${pkgdir} install || return 1