Date: Saturday, December 20, 2014 @ 20:59:28 Author: arojas Revision: 124205
Splitting sage-mathematics Added: gmp-ecm/ gmp-ecm/trunk/ gmp-ecm/trunk/PKGBUILD ----------+ PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) Added: gmp-ecm/trunk/PKGBUILD =================================================================== --- gmp-ecm/trunk/PKGBUILD (rev 0) +++ gmp-ecm/trunk/PKGBUILD 2014-12-20 19:59:28 UTC (rev 124205) @@ -0,0 +1,33 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Rémy Oudompheng <oudom...@phare.normalesup.org> +# Contributor: Gaetan Bisson <bis...@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 +} Property changes on: gmp-ecm/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property