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

Ronald van Haren ronald at archlinux.org
Sun Mar 18 13:12:56 EDT 2012


    Date: Sunday, March 18, 2012 @ 13:12:55
  Author: ronald
Revision: 153722

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  suitesparse/repos/extra-i686/
  suitesparse/repos/extra-i686/PKGBUILD
    (from rev 153721, suitesparse/trunk/PKGBUILD)
  suitesparse/repos/extra-x86_64/
  suitesparse/repos/extra-x86_64/PKGBUILD
    (from rev 153721, suitesparse/trunk/PKGBUILD)

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

Copied: suitesparse/repos/extra-i686/PKGBUILD (from rev 153721, suitesparse/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2012-03-18 17:12:55 UTC (rev 153722)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+
+pkgname=suitesparse
+pkgver=3.7.0
+pkgrel=1
+pkgdesc="A collection of sparse matrix libraries"
+url="http://www.cise.ufl.edu/research/sparse/SuiteSparse/"
+arch=('i686' 'x86_64')
+conflicts=('umfpack')
+provides=('umfpack')
+replaces=('umfpack')
+depends=('blas' 'lapack')
+makedepends=('gcc-fortran')
+license=('GPL')
+source=(http://www.cise.ufl.edu/research/sparse/SuiteSparse/SuiteSparse-$pkgver.tar.gz)
+sha1sums=('d0eb24b43ee2f7def032e80eaa7a589f94f546fc')
+
+build() {
+   cd "$srcdir"/SuiteSparse
+   export CFLAGS=" ${CFLAGS} -DNPARTITION"
+   
+   make -C UFconfig/xerbla
+   make -C UFconfig 
+   for _lib in AMD CAMD COLAMD BTF KLU LDL CCOLAMD UMFPACK CHOLMOD CXSparse SPQR; do
+      make -C ${_lib} library
+   done
+}
+
+
+package() {
+   cd "${srcdir}"/SuiteSparse
+   install -dm755 "${pkgdir}"/usr/{lib,include}
+   
+   for _lib in UFconfig AMD CAMD COLAMD BTF KLU LDL CCOLAMD UMFPACK CHOLMOD CXSparse SPQR; do
+      make -C ${_lib} INSTALL_LIB="${pkgdir}"/usr/lib INSTALL_INCLUDE="${pkgdir}"/usr/include install
+   done
+
+   chmod 644 "${pkgdir}"/usr/include/*.{h,hpp}
+}

Copied: suitesparse/repos/extra-x86_64/PKGBUILD (from rev 153721, suitesparse/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2012-03-18 17:12:55 UTC (rev 153722)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+
+pkgname=suitesparse
+pkgver=3.7.0
+pkgrel=1
+pkgdesc="A collection of sparse matrix libraries"
+url="http://www.cise.ufl.edu/research/sparse/SuiteSparse/"
+arch=('i686' 'x86_64')
+conflicts=('umfpack')
+provides=('umfpack')
+replaces=('umfpack')
+depends=('blas' 'lapack')
+makedepends=('gcc-fortran')
+license=('GPL')
+source=(http://www.cise.ufl.edu/research/sparse/SuiteSparse/SuiteSparse-$pkgver.tar.gz)
+sha1sums=('d0eb24b43ee2f7def032e80eaa7a589f94f546fc')
+
+build() {
+   cd "$srcdir"/SuiteSparse
+   export CFLAGS=" ${CFLAGS} -DNPARTITION"
+   
+   make -C UFconfig/xerbla
+   make -C UFconfig 
+   for _lib in AMD CAMD COLAMD BTF KLU LDL CCOLAMD UMFPACK CHOLMOD CXSparse SPQR; do
+      make -C ${_lib} library
+   done
+}
+
+
+package() {
+   cd "${srcdir}"/SuiteSparse
+   install -dm755 "${pkgdir}"/usr/{lib,include}
+   
+   for _lib in UFconfig AMD CAMD COLAMD BTF KLU LDL CCOLAMD UMFPACK CHOLMOD CXSparse SPQR; do
+      make -C ${_lib} INSTALL_LIB="${pkgdir}"/usr/lib INSTALL_INCLUDE="${pkgdir}"/usr/include install
+   done
+
+   chmod 644 "${pkgdir}"/usr/include/*.{h,hpp}
+}



More information about the arch-commits mailing list