PKGBUILDs/community/eclib/PKGBUILD

32 lines
799 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
2016-02-11 13:27:21 +00:00
pkgver=20160206
2016-05-17 22:13:32 +00:00
pkgrel=6
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)
depends=(flint pari-sage boost-libs)
makedepends=(boost)
source=("https://github.com/JohnCremona/eclib/archive/v$pkgver.tar.gz")
2016-02-11 13:27:21 +00:00
md5sums=('8497ea59a0a5dcc3f32ee21bb3510eac')
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"
}