[arch-commits] Commit in (4 files)

Antonio Rojas arojas at archlinux.org
Sat Dec 20 23:16:14 UTC 2014


    Date: Sunday, December 21, 2014 @ 00:16:14
  Author: arojas
Revision: 124229

Splitting sage-mathematics

Added:
  ratpoints/
  ratpoints/trunk/
  ratpoints/trunk/PKGBUILD
  ratpoints/trunk/fPIC.patch

------------+
 PKGBUILD   |   34 ++++++++++++++++++++++++++++++++++
 fPIC.patch |   11 +++++++++++
 2 files changed, 45 insertions(+)

Added: ratpoints/trunk/PKGBUILD
===================================================================
--- ratpoints/trunk/PKGBUILD	                        (rev 0)
+++ ratpoints/trunk/PKGBUILD	2014-12-20 23:16:14 UTC (rev 124229)
@@ -0,0 +1,34 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=ratpoints
+pkgver=2.1.3
+pkgrel=1
+pkgdesc="A program that uses an optimized quadratic sieve algorithm in order to find rational points on hyperelliptic curves"
+arch=('i686' 'x86_64')
+url="http://www.mathe2.uni-bayreuth.de/stoll/programs/index.html"
+license=('GPL2')
+depends=('gmp')
+options=('staticlibs')
+source=("http://www.mathe2.uni-bayreuth.de/stoll/programs/$pkgname-$pkgver.tar.gz" 'fPIC.patch')
+md5sums=('597fee3856ef2f80fffc0a440e926208'
+         '60cc67b9308b2e66e65fd6814d341ed6')
+
+prepare() {
+  cd $pkgname-$pkgver
+
+  patch -p0 -i $srcdir/fPIC.patch
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  mkdir -p "$pkgdir"/usr/{bin,include,lib}
+  make install INSTALL_DIR="$pkgdir"/usr
+}
+


Property changes on: ratpoints/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: ratpoints/trunk/fPIC.patch
===================================================================
--- ratpoints/trunk/fPIC.patch	                        (rev 0)
+++ ratpoints/trunk/fPIC.patch	2014-12-20 23:16:14 UTC (rev 124229)
@@ -0,0 +1,11 @@
+--- Makefile.orig	2014-11-07 21:12:13.411106352 +0100
++++ Makefile	2014-11-07 21:12:21.854468444 +0100
+@@ -29,7 +29,7 @@
+ 
+ INSTALL_DIR = /usr/local
+ 
+-CCFLAGS1 = -Wall -O2 -fomit-frame-pointer -DRATPOINTS_MAX_BITS_IN_PRIME=${PRIME_SIZE} -DUSE_SSE
++CCFLAGS1 = -fPIC -Wall -O2 -fomit-frame-pointer -DRATPOINTS_MAX_BITS_IN_PRIME=${PRIME_SIZE} -DUSE_SSE
+ # for gcc on Apple, may have to add '-fnested-functions' to CCFLAGS1
+ CCFLAGS2 = -lgmp -lgcc -lc -lm
+ CCFLAGS3 = -L. -lratpoints



More information about the arch-commits mailing list