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

Gaetan Bisson bisson at archlinux.org
Fri Feb 20 07:37:55 UTC 2015


    Date: Friday, February 20, 2015 @ 08:37:55
  Author: bisson
Revision: 128011

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

Added:
  gmp-ecm/repos/community-testing-i686/
  gmp-ecm/repos/community-testing-i686/PKGBUILD
    (from rev 128010, gmp-ecm/trunk/PKGBUILD)
  gmp-ecm/repos/community-testing-x86_64/
  gmp-ecm/repos/community-testing-x86_64/PKGBUILD
    (from rev 128010, gmp-ecm/trunk/PKGBUILD)

-----------------------------------+
 community-testing-i686/PKGBUILD   |   32 ++++++++++++++++++++++++++++++++
 community-testing-x86_64/PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)

Copied: gmp-ecm/repos/community-testing-i686/PKGBUILD (from rev 128010, gmp-ecm/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2015-02-20 07:37:55 UTC (rev 128011)
@@ -0,0 +1,32 @@
+# Contributor: Rémy Oudompheng <oudomphe at phare.normalesup.org>
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+
+pkgname=gmp-ecm
+pkgver=6.4.4
+pkgrel=2
+pkgdesc='Elliptic Curve Method for Integer Factorization'
+url='http://ecm.gforge.inria.fr/'
+license=('GPL' 'LGPL')
+depends=('gmp')
+options=('!libtool')
+arch=('i686' 'x86_64')
+source=("http://gforge.inria.fr/frs/download.php/32159/ecm-${pkgver}.tar.gz")
+sha1sums=('003d259772bd7748854f0fd8722299505c7d5259')
+
+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
+}

Copied: gmp-ecm/repos/community-testing-x86_64/PKGBUILD (from rev 128010, gmp-ecm/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2015-02-20 07:37:55 UTC (rev 128011)
@@ -0,0 +1,32 @@
+# Contributor: Rémy Oudompheng <oudomphe at phare.normalesup.org>
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+
+pkgname=gmp-ecm
+pkgver=6.4.4
+pkgrel=2
+pkgdesc='Elliptic Curve Method for Integer Factorization'
+url='http://ecm.gforge.inria.fr/'
+license=('GPL' 'LGPL')
+depends=('gmp')
+options=('!libtool')
+arch=('i686' 'x86_64')
+source=("http://gforge.inria.fr/frs/download.php/32159/ecm-${pkgver}.tar.gz")
+sha1sums=('003d259772bd7748854f0fd8722299505c7d5259')
+
+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