mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
added community/eclib
This commit is contained in:
parent
9498a07286
commit
f6a754ab68
1 changed files with 31 additions and 0 deletions
31
community/eclib/PKGBUILD
Normal file
31
community/eclib/PKGBUILD
Normal file
|
@ -0,0 +1,31 @@
|
|||
# $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
|
||||
pkgver=20150827
|
||||
pkgrel=6
|
||||
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")
|
||||
md5sums=('6a9d3b001a7035697079fb08c420e4a3')
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
LDFLAGS+=" -lpthread"
|
||||
./autogen.sh
|
||||
./configure --prefix=/usr --with-flint=/usr
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
make install DESTDIR="$pkgdir"
|
||||
}
|
||||
|
Loading…
Reference in a new issue