[arch-commits] Commit in gmp-ecm/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 17:31:52 UTC 2020


    Date: Tuesday, July 7, 2020 @ 17:31:52
  Author: felixonmars
Revision: 659761

archrelease: copy trunk to community-staging-x86_64

Added:
  gmp-ecm/repos/community-staging-x86_64/
  gmp-ecm/repos/community-staging-x86_64/PKGBUILD
    (from rev 659760, gmp-ecm/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: gmp-ecm/repos/community-staging-x86_64/PKGBUILD (from rev 659760, gmp-ecm/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 17:31:52 UTC (rev 659761)
@@ -0,0 +1,31 @@
+# Contributor: Rémy Oudompheng <oudomphe at phare.normalesup.org>
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+
+pkgname=gmp-ecm
+pkgver=7.0.4
+pkgrel=3
+pkgdesc='Elliptic Curve Method for Integer Factorization'
+url='https://ecm.gforge.inria.fr/'
+license=('GPL' 'LGPL')
+depends=('gmp')
+arch=('x86_64')
+source=("https://gforge.inria.fr/frs/download.php/file/36224/ecm-${pkgver}.tar.gz")
+sha256sums=('0cf7b3eee8462cc6f98b418b47630e1eb6b3f4f8c3fc1fb005b08e2a1811ba43')
+
+build() {
+	cd "${srcdir}/ecm-${pkgver}"
+	[[ $CARCH = *86* ]] && export CFLAGS+=' -msse'
+	./configure --prefix=/usr --enable-shared --enable-openmp
+	# make ecm-params
+	make
+}
+
+check() {
+	cd "${srcdir}/ecm-${pkgver}"
+	make check
+}
+
+package() {
+	cd "${srcdir}/ecm-${pkgver}"
+	make DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list