# $Id$ # Maintainer: Antonio Rojas # ALARM: Kevin Mihelich # - libpthread is getting missed in link deps, specify in LDFLAGS pkgname=eclib pkgver=20170122 pkgrel=1 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 boost-libs) makedepends=(boost) source=("https://github.com/JohnCremona/eclib/archive/v$pkgver.tar.gz") md5sums=('7cf4318880d8b3d1b09968dde59b8d25') build() { cd $pkgname-$pkgver LDFLAGS+=" -lpthread" ./autogen.sh ./configure --prefix=/usr --with-flint=/usr make } package() { cd $pkgname-$pkgver make install DESTDIR="$pkgdir" }