core/gsl/PKGBUILD

26 lines
547 B
Bash
Raw Normal View History

2010-03-14 23:48:48 +08:00
pkgname=gsl
2016-08-14 16:31:58 +08:00
pkgver=2.1
2010-03-14 23:48:48 +08:00
pkgrel=1
pkgdesc="The GNU Scientific Library (GSL) is a modern numerical library for C and C++ programmers"
url="http://www.gnu.org/software/gsl/gsl.html"
install=gsl.install
license=('GPL')
2016-08-14 16:31:58 +08:00
arch=('x86_64')
2010-03-14 23:48:48 +08:00
depends=('glibc' 'bash')
options=('!libtool')
2016-08-14 16:31:58 +08:00
source=(ftp://ftp.gnu.org/gnu/gsl/$pkgname-$pkgver.tar.gz)
md5sums=('d8f70abafd3e9f0bae03c52d1f4e8de5')
2010-03-14 23:48:48 +08:00
build() {
2010-05-17 15:50:50 +08:00
unset LDFLAGS
2016-08-14 16:31:58 +08:00
cd $pkgname-$pkgver
2010-03-14 23:48:48 +08:00
./configure --prefix=/usr
2015-04-13 15:59:57 +08:00
make
2010-05-17 15:50:50 +08:00
}
package() {
2016-08-14 16:31:58 +08:00
cd $pkgname-$pkgver
make DESTDIR=$pkgdir install
2010-03-14 23:48:48 +08:00
}