[arch-commits] Commit in eclib/repos (4 files)

Antonio Rojas arojas at archlinux.org
Wed May 24 14:50:56 UTC 2017


    Date: Wednesday, May 24, 2017 @ 14:50:55
  Author: arojas
Revision: 229943

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  eclib/repos/community-staging-i686/
  eclib/repos/community-staging-i686/PKGBUILD
    (from rev 229942, eclib/trunk/PKGBUILD)
  eclib/repos/community-staging-x86_64/
  eclib/repos/community-staging-x86_64/PKGBUILD
    (from rev 229942, eclib/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   33 +++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)

Copied: eclib/repos/community-staging-i686/PKGBUILD (from rev 229942, eclib/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2017-05-24 14:50:55 UTC (rev 229943)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=eclib
+pkgver=20170330
+pkgrel=2
+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")
+sha256sums=('c507c3c83a21d445c6fba1c339aa4c37d488aeae829e5368a9bff000b148baf3')
+
+prepare() {
+  cd $pkgname-$pkgver
+  # Fix build with boost 1.64
+  find -type f | xargs sed -e 's|scalar|eclscalar|g' -i
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./autogen.sh
+  ./configure --prefix=/usr --with-flint=/usr
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make install DESTDIR="$pkgdir"
+}
+

Copied: eclib/repos/community-staging-x86_64/PKGBUILD (from rev 229942, eclib/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-05-24 14:50:55 UTC (rev 229943)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=eclib
+pkgver=20170330
+pkgrel=2
+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")
+sha256sums=('c507c3c83a21d445c6fba1c339aa4c37d488aeae829e5368a9bff000b148baf3')
+
+prepare() {
+  cd $pkgname-$pkgver
+  # Fix build with boost 1.64
+  find -type f | xargs sed -e 's|scalar|eclscalar|g' -i
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./autogen.sh
+  ./configure --prefix=/usr --with-flint=/usr
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make install DESTDIR="$pkgdir"
+}
+



More information about the arch-commits mailing list