PKGBUILDs/community/eclib/PKGBUILD

31 lines
798 B
Bash
Raw Normal View History

2015-12-26 15:38:52 +00:00
# $Id$
# Maintainer: Antonio Rojas <arojas@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - libpthread is getting missed in link deps, specify in LDFLAGS
pkgname=eclib
2017-03-30 20:38:29 +00:00
pkgver=20170330
2017-07-08 16:11:20 +00:00
pkgrel=5
2015-12-26 15:38:52 +00:00
pkgdesc="Includes mwrank (for 2-descent on elliptic curves over Q) and modular symbol code used to create the elliptic curve database"
arch=(i686 x86_64)
url="https://github.com/JohnCremona/eclib/"
license=(GPL)
2017-05-25 01:52:02 +00:00
depends=(flint pari)
2015-12-26 15:38:52 +00:00
source=("https://github.com/JohnCremona/eclib/archive/v$pkgver.tar.gz")
2017-03-30 20:38:29 +00:00
sha256sums=('c507c3c83a21d445c6fba1c339aa4c37d488aeae829e5368a9bff000b148baf3')
2015-12-26 15:38:52 +00:00
build() {
cd $pkgname-$pkgver
LDFLAGS+=" -lpthread"
./autogen.sh
./configure --prefix=/usr --with-flint=/usr
make
}
package() {
cd $pkgname-$pkgver
make install DESTDIR="$pkgdir"
}