[arch-commits] Commit in gmp-ecm (5 files)

Antonio Rojas arojas at archlinux.org
Sat Dec 20 20:00:12 UTC 2014


    Date: Saturday, December 20, 2014 @ 21:00:11
  Author: arojas
Revision: 124206

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

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

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

Copied: gmp-ecm/repos/community-i686/PKGBUILD (from rev 124205, gmp-ecm/trunk/PKGBUILD)
===================================================================
--- repos/community-i686/PKGBUILD	                        (rev 0)
+++ repos/community-i686/PKGBUILD	2014-12-20 20:00:11 UTC (rev 124206)
@@ -0,0 +1,33 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Rémy Oudompheng <oudomphe at phare.normalesup.org>
+# Contributor: Gaetan Bisson <bisson at archlinux.org>
+
+pkgname=gmp-ecm
+pkgver=6.4.4
+pkgrel=1
+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 ecm-$pkgver
+	[[ $CARCH = *86* ]] && export CFLAGS+=' -msse'
+	./configure --prefix=/usr --enable-shared --enable-openmp
+	# make ecm-params
+	make
+}
+
+check() {
+	cd ecm-$pkgver
+	make check
+}
+
+package() {
+	cd ecm-$pkgver
+	make DESTDIR="$pkgdir" install
+}

Copied: gmp-ecm/repos/community-x86_64/PKGBUILD (from rev 124205, gmp-ecm/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2014-12-20 20:00:11 UTC (rev 124206)
@@ -0,0 +1,33 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Rémy Oudompheng <oudomphe at phare.normalesup.org>
+# Contributor: Gaetan Bisson <bisson at archlinux.org>
+
+pkgname=gmp-ecm
+pkgver=6.4.4
+pkgrel=1
+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 ecm-$pkgver
+	[[ $CARCH = *86* ]] && export CFLAGS+=' -msse'
+	./configure --prefix=/usr --enable-shared --enable-openmp
+	# make ecm-params
+	make
+}
+
+check() {
+	cd ecm-$pkgver
+	make check
+}
+
+package() {
+	cd ecm-$pkgver
+	make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list