[arch-commits] Commit in linbox/trunk (PKGBUILD linbox-config.patch)

Antonio Rojas arojas at archlinux.org
Sat Nov 18 17:05:41 UTC 2017


    Date: Saturday, November 18, 2017 @ 17:05:37
  Author: arojas
Revision: 267313

Fix missing header

Added:
  linbox/trunk/linbox-config.patch
Modified:
  linbox/trunk/PKGBUILD

---------------------+
 PKGBUILD            |   15 +++++++++++----
 linbox-config.patch |   12 ++++++++++++
 2 files changed, 23 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-18 16:45:40 UTC (rev 267312)
+++ PKGBUILD	2017-11-18 17:05:37 UTC (rev 267313)
@@ -3,19 +3,26 @@
 
 pkgname=linbox
 pkgver=1.5.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A template library for exact, high-performance linear algebra computation with dense, sparse, and structured matrices over the integers and over finite fields"
 arch=(x86_64)
 url="http://linalg.org/"
 license=(LGPL)
 depends=(m4rie flint fplll iml fflas-ffpack tinyxml2) 
-source=("https://github.com/linbox-team/linbox/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha256sums=('ae6a9ffb5f32ad3ed4980d82d09b8c5cf023aa3298873467c15f610d64797749')
+source=("https://github.com/linbox-team/linbox/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz" linbox-config.patch)
+sha256sums=('ae6a9ffb5f32ad3ed4980d82d09b8c5cf023aa3298873467c15f610d64797749'
+            '2f60b1b598d04168622ad1cccf0e8745b73efc5b7686398cb6f0f89cc2032ceb')
 
+prepare() {
+  cd $pkgname-$pkgver
+  patch -Rp1 -i ../linbox-config.patch # Install missing config.h header
+  autoreconf -vi
+}
+
 build() {
   cd $pkgname-$pkgver
 
-  ./configure --prefix=/usr --enable-sage --enable-optimization --with-fplll=/usr
+  ./configure --prefix=/usr --enable-sage --with-fplll=/usr
   make
 }
 

Added: linbox-config.patch
===================================================================
--- linbox-config.patch	                        (rev 0)
+++ linbox-config.patch	2017-11-18 17:05:37 UTC (rev 267313)
@@ -0,0 +1,12 @@
+diff --git a/linbox/Makefile.am b/linbox/Makefile.am
+index 68ee4e98d..bf2773952 100644
+--- a/linbox/Makefile.am
++++ b/linbox/Makefile.am
+@@ -30,7 +30,6 @@ SUBDIRS=util element field randiter vector matrix blackbox algorithms solutions
+ 
+ BASIC_HDRS =          \
+     linbox-config.h \
+-    config.h \
+     config-blas.h     \
+     integer.h         \
+     linbox-tags.h



More information about the arch-commits mailing list