[arch-commits] Commit in linbox/repos (4 files)

Antonio Rojas arojas at archlinux.org
Fri Nov 11 10:13:12 UTC 2016


    Date: Friday, November 11, 2016 @ 10:13:11
  Author: arojas
Revision: 195332

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

Added:
  linbox/repos/community-staging-i686/
  linbox/repos/community-staging-i686/PKGBUILD
    (from rev 195331, linbox/trunk/PKGBUILD)
  linbox/repos/community-staging-x86_64/
  linbox/repos/community-staging-x86_64/PKGBUILD
    (from rev 195331, linbox/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   40 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   40 ++++++++++++++++++++++++++++++++++++
 2 files changed, 80 insertions(+)

Copied: linbox/repos/community-staging-i686/PKGBUILD (from rev 195331, linbox/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-11-11 10:13:11 UTC (rev 195332)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Antonio Rojas < nqn76sw at gmail.com >
+
+pkgname=linbox
+pkgver=1.4.2
+pkgrel=5
+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=(i686 x86_64)
+url="http://linalg.org/"
+license=(LGPL)
+depends=(m4rie lapack flint fplll iml givaro) 
+makedepends=(fflas-ffpack)
+source=("https://github.com/linbox-team/linbox/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz"
+        linbox-fplll5.patch::"https://github.com/fingolfin/linbox/commit/95355873.patch")
+md5sums=('c0daf8a74b373cf577dec975bca4fb9c'
+         '47d5fa608972cd6807b9facc5d828e53')
+
+prepare() {
+  cd $pkgname-$pkgver
+# Fix build with fplll 5.0
+  patch -p1 -i ../linbox-fplll5.patch
+  sed -e 's|fplll/dpe.h|fplll/nr/dpe.h|g' -i linbox/algorithms/short-vector.h
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./configure --prefix=/usr --enable-sage --enable-optimization --with-fplll=/usr
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+# make check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Copied: linbox/repos/community-staging-x86_64/PKGBUILD (from rev 195331, linbox/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-11-11 10:13:11 UTC (rev 195332)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Antonio Rojas < nqn76sw at gmail.com >
+
+pkgname=linbox
+pkgver=1.4.2
+pkgrel=5
+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=(i686 x86_64)
+url="http://linalg.org/"
+license=(LGPL)
+depends=(m4rie lapack flint fplll iml givaro) 
+makedepends=(fflas-ffpack)
+source=("https://github.com/linbox-team/linbox/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz"
+        linbox-fplll5.patch::"https://github.com/fingolfin/linbox/commit/95355873.patch")
+md5sums=('c0daf8a74b373cf577dec975bca4fb9c'
+         '47d5fa608972cd6807b9facc5d828e53')
+
+prepare() {
+  cd $pkgname-$pkgver
+# Fix build with fplll 5.0
+  patch -p1 -i ../linbox-fplll5.patch
+  sed -e 's|fplll/dpe.h|fplll/nr/dpe.h|g' -i linbox/algorithms/short-vector.h
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./configure --prefix=/usr --enable-sage --enable-optimization --with-fplll=/usr
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+# make check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list