diff options
author | root <root@rshg054.dnsready.net> | 2013-11-04 01:27:27 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-11-04 01:27:27 -0800 |
commit | 058983fb5cb16dbb25368dd464cbcf27205b3f93 (patch) | |
tree | 4f07b3aba435304aac5c5f93e5a9784031dabd40 /extra/lapack/PKGBUILD | |
parent | 1ce58386c5ee7086ac6848f35cade5d45bf86764 (diff) |
Mon Nov 4 01:26:54 PST 2013
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 cdefb4720..31ab30360 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/" |