Date: Sunday, March 26, 2017 @ 18:15:11
  Author: arojas
Revision: 219160

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 219159, linbox/trunk/PKGBUILD)
  linbox/repos/community-staging-x86_64/
  linbox/repos/community-staging-x86_64/PKGBUILD
    (from rev 219159, linbox/trunk/PKGBUILD)

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

Copied: linbox/repos/community-staging-i686/PKGBUILD (from rev 219159, 
linbox/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD                             (rev 0)
+++ community-staging-i686/PKGBUILD     2017-03-26 18:15:11 UTC (rev 219160)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Antonio Rojas < [email protected] >
+
+pkgname=linbox
+pkgver=1.4.2
+pkgrel=8
+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 flint fplll iml 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";)
+sha256sums=('47f025fe7aab204fb276307f32a562de357c887c6ef589b9e4f7a57a3b58ecaf'
+            'e58d03deb3c6379a6dbcae035153081d3d0e15beec60fbb47a6d3557658735bb')
+
+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 219159, 
linbox/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-03-26 18:15:11 UTC (rev 219160)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Antonio Rojas < [email protected] >
+
+pkgname=linbox
+pkgver=1.4.2
+pkgrel=8
+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 flint fplll iml 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";)
+sha256sums=('47f025fe7aab204fb276307f32a562de357c887c6ef589b9e4f7a57a3b58ecaf'
+            'e58d03deb3c6379a6dbcae035153081d3d0e15beec60fbb47a6d3557658735bb')
+
+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
+}

Reply via email to