mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-12 03:44:37 +08:00
27 lines
642 B
Bash
27 lines
642 B
Bash
# $Id$
|
|
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
|
|
|
pkgname=eclib
|
|
pkgver=20141106
|
|
pkgrel=3
|
|
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)
|
|
source=("https://github.com/JohnCremona/eclib/archive/$pkgname-$pkgver.tar.gz")
|
|
md5sums=('dd65b29741461a7abd02c721b9f0c80d')
|
|
|
|
build() {
|
|
cd eclib-$pkgname-$pkgver
|
|
./autogen.sh
|
|
./configure --prefix=/usr --with-flint=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd eclib-$pkgname-$pkgver
|
|
make install DESTDIR="$pkgdir"
|
|
}
|
|
|