diff options
Diffstat (limited to 'extra/lapack/PKGBUILD')
-rw-r--r-- | extra/lapack/PKGBUILD | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/extra/lapack/PKGBUILD b/extra/lapack/PKGBUILD index 14b50033c..b76ee52a4 100644 --- a/extra/lapack/PKGBUILD +++ b/extra/lapack/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 171531 2012-11-18 12:48:44Z ronald $ +# $Id: PKGBUILD 198759 2013-11-03 11:28:03Z ronald $ # Maintainer: Ronald van Haren <ronald.archlinux.org> # Contributor: Jan de Groot <jgc@archlinux.org> # Contributor: damir <damir@archlinux.org> @@ -7,7 +7,7 @@ pkgbase=lapack pkgname=('lapack' 'blas') pkgver=3.4.2 -pkgrel=1 +pkgrel=2 url="http://www.netlib.org/lapack" pkgdesc="Linear Algebra PACKage" makedepends=('gcc-fortran' 'cmake') @@ -29,23 +29,25 @@ build() { -DCMAKE_SKIP_RPATH=ON \ -DBUILD_SHARED_LIBS=ON \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_Fortran_COMPILER=gfortran + -DCMAKE_Fortran_COMPILER=gfortran \ + -DLAPACKE=ON make } package_lapack() { depends=("blas=${pkgver}") - install -m755 -d ${pkgdir}/usr/{lib,bin} + install -m755 -d ${pkgdir}/usr/{lib,bin,include} - for libname in liblapack libtmglib; do + for libname in liblapack libtmglib liblapacke; do install -m755 "${srcdir}/build/lib/${libname}.so" \ "${pkgdir}/usr/lib/" - ln -sf liblapack.so "${pkgdir}/usr/lib/${libname}.so.${pkgver}" - ln -sf liblapack.so "${pkgdir}/usr/lib/${libname}.so.3" + ln -sf ${libname}.so "${pkgdir}/usr/lib/${libname}.so.${pkgver}" + ln -sf ${libname}.so "${pkgdir}/usr/lib/${libname}.so.3" done install -m755 ${srcdir}/build/bin/* ${pkgdir}/usr/bin + install -m644 ${srcdir}/build/include/* ${pkgdir}/usr/include install -m755 -d "${pkgdir}/usr/share/licenses/lapack" install -m644 "${srcdir}/${pkgname}-${pkgver}/LICENSE" \ "${pkgdir}/usr/share/licenses/lapack/" |