[arch-commits] Commit in ratpoints/repos/community-x86_64 (3 files)
Antonio Rojas
arojas at gemini.archlinux.org
Fri Dec 24 14:39:23 UTC 2021
Date: Friday, December 24, 2021 @ 14:39:23
Author: arojas
Revision: 1083397
archrelease: copy trunk to community-x86_64
Added:
ratpoints/repos/community-x86_64/PKGBUILD
(from rev 1083396, ratpoints/trunk/PKGBUILD)
Deleted:
ratpoints/repos/community-x86_64/PKGBUILD
ratpoints/repos/community-x86_64/ratpoints-fPIC.patch
----------------------+
PKGBUILD | 63 +++++++++++++++++++++++--------------------------
ratpoints-fPIC.patch | 11 --------
2 files changed, 30 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-24 14:39:14 UTC (rev 1083396)
+++ PKGBUILD 2021-12-24 14:39:23 UTC (rev 1083397)
@@ -1,33 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=ratpoints
-pkgver=2.1.3
-pkgrel=4
-pkgdesc="A program that uses an optimized quadratic sieve algorithm in order to find rational points on hyperelliptic curves"
-arch=(x86_64)
-url="http://www.mathe2.uni-bayreuth.de/stoll/programs/index.html"
-license=(GPL2)
-depends=(gmp)
-source=("http://www.mathe2.uni-bayreuth.de/stoll/programs/$pkgname-$pkgver.tar.gz" 'ratpoints-fPIC.patch')
-sha256sums=('c4bd55b4fe6234ed4793edfb6126f63b13ee2eaf122f3dfd8f4737a7096a0a7e'
- '4ecfadeda42611a817b81dbf1c281fd9d94f96a03d6749f741d3d30ebf719f98')
-
-prepare() {
- cd $pkgname-$pkgver
-
- patch -p0 -i ../ratpoints-fPIC.patch
-}
-
-build() {
- cd $pkgname-$pkgver
-
- make
-}
-
-package() {
- cd $pkgname-$pkgver
-
- mkdir -p "$pkgdir"/usr/{bin,include,lib}
- make install INSTALL_DIR="$pkgdir"/usr
-}
-
Copied: ratpoints/repos/community-x86_64/PKGBUILD (from rev 1083396, ratpoints/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-24 14:39:23 UTC (rev 1083397)
@@ -0,0 +1,30 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=ratpoints
+pkgver=2.1.3
+pkgrel=5
+pkgdesc='A program that uses an optimized quadratic sieve algorithm in order to find rational points on hyperelliptic curves'
+arch=(x86_64)
+url='http://www.mathe2.uni-bayreuth.de/stoll/programs/index.html'
+license=(GPL2)
+depends=(gmp)
+source=(http://www.mathe2.uni-bayreuth.de/stoll/programs/$pkgname-$pkgver.tar.gz)
+sha256sums=('c4bd55b4fe6234ed4793edfb6126f63b13ee2eaf122f3dfd8f4737a7096a0a7e')
+
+prepare() {
+# Honor system build flags
+ sed -e "s|CCFLAGS =|CCFLAGS = -fPIC $CXXFLAGS $LDFLAGS|" -i $pkgname-$pkgver/Makefile
+}
+
+build() {
+ cd $pkgname-$pkgver
+
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+
+ mkdir -p "$pkgdir"/usr/{bin,include,lib}
+ make install INSTALL_DIR="$pkgdir"/usr
+}
Deleted: ratpoints-fPIC.patch
===================================================================
--- ratpoints-fPIC.patch 2021-12-24 14:39:14 UTC (rev 1083396)
+++ ratpoints-fPIC.patch 2021-12-24 14:39:23 UTC (rev 1083397)
@@ -1,11 +0,0 @@
---- 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