mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 23:04:38 +08:00
26 lines
547 B
Bash
26 lines
547 B
Bash
pkgname=gsl
|
|
pkgver=2.1
|
|
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')
|
|
arch=('x86_64')
|
|
depends=('glibc' 'bash')
|
|
options=('!libtool')
|
|
source=(ftp://ftp.gnu.org/gnu/gsl/$pkgname-$pkgver.tar.gz)
|
|
md5sums=('d8f70abafd3e9f0bae03c52d1f4e8de5')
|
|
|
|
build() {
|
|
unset LDFLAGS
|
|
|
|
cd $pkgname-$pkgver
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make DESTDIR=$pkgdir install
|
|
}
|