summaryrefslogtreecommitdiffstats
path: root/abs/core/lapack/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 02:49:20 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 02:49:20 (GMT)
commit3cb4d7496599775c15758a2dcb95784e6f634278 (patch)
treedc1ae4b044c1b57143df65731643046d9c24b532 /abs/core/lapack/PKGBUILD
parent3fbf706c2e3d56272e71259100353af20fbfdd20 (diff)
downloadlinhes_pkgbuild-3cb4d7496599775c15758a2dcb95784e6f634278.zip
linhes_pkgbuild-3cb4d7496599775c15758a2dcb95784e6f634278.tar.gz
linhes_pkgbuild-3cb4d7496599775c15758a2dcb95784e6f634278.tar.bz2
lapack 3.4.0
Diffstat (limited to 'abs/core/lapack/PKGBUILD')
-rw-r--r--abs/core/lapack/PKGBUILD68
1 files changed, 19 insertions, 49 deletions
diff --git a/abs/core/lapack/PKGBUILD b/abs/core/lapack/PKGBUILD
index 145e85f..cef5ff2 100644
--- a/abs/core/lapack/PKGBUILD
+++ b/abs/core/lapack/PKGBUILD
@@ -1,45 +1,31 @@
-# $Id: PKGBUILD 94550 2010-10-08 09:23:08Z ronald $
+# $Id: PKGBUILD 147948 2012-01-28 21:21:33Z ronald $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: damir <damir@archlinux.org>
# Contributor: Jason Taylor <jftaylor21@gmail.com>
-pkgbase=lapack
-pkgname=('blas' 'lapack')
-pkgver=3.2.2
-pkgrel=2
+pkgname=lapack
+pkgver=3.4.0
+pkgrel=1
url="http://www.netlib.org/lapack"
+pkgdesc="Linear Algebra PACKage"
makedepends=('gcc-fortran')
+depends=("blas=${pkgver}")
arch=('i686' 'x86_64')
license=("custom")
-source=(http://www.netlib.org/${pkgbase}/${pkgbase}-${pkgver}.tgz
- lapack-3.1.1-make.inc.patch
- Makefile.blas
- Makefile.lapack
- LICENSE.blas)
-md5sums=('10832891c9e8100f81108c1ec7da0da4'
- 'cdfcb9d9b162c18d9acbf63c5579ea26'
- '51a84dd3b1f04289b6b7c7f56d59c368'
- 'e7936c82c853870f0144f45e9656a7ea'
- '38b6acb8ed5691d25863319d30a8b365')
+source=(http://www.netlib.org/${pkgname}/${pkgname}-${pkgver}.tgz
+ Makefile.lapack)
+sha1sums=('910109a931524f8dcc2734ce23fe927b00ca199f'
+ '2bedfe0d778b401b24d1fbf0eb1dc576d374be28')
+
build() {
- cd "${srcdir}/${pkgbase}-${pkgver}"
- patch -Np1 -i "${srcdir}/lapack-3.1.1-make.inc.patch"
+ cd "${srcdir}/${pkgname}-${pkgver}"
cp -f INSTALL/make.inc.gfortran make.inc
- cp -f "${srcdir}/Makefile.blas" BLAS/SRC/Makefile
cp -f "${srcdir}/Makefile.lapack" SRC/Makefile
export FC=gfortran
- pushd BLAS/SRC
- make clean
- FFLAGS="${CFLAGS/-O?/-O0}" make dcabs1.o
- FFLAGS="${CFLAGS} -fPIC" CFLAGS="${CFLAGS} -fPIC" make shared
- cp libblas.so.${pkgver} "${srcdir}/${pkgbase}-${pkgver}/"
- popd
- ln -s libblas.so.${pkgver} libblas.so
-
pushd INSTALL
make clean
make NOOPT="${CFLAGS/-O?/-O0} -fPIC" OPTS="${CFLAGS} -fPIC"
@@ -50,35 +36,19 @@ build() {
make clean
make FFLAGS="${CFLAGS} -fPIC" CFLAGS="${CFLAGS} -fPIC" shared
- cp liblapack.so.${pkgver} "${srcdir}/${pkgbase}-${pkgver}/"
+ cp liblapack.so.${pkgver} "${srcdir}/${pkgname}-${pkgver}/"
popd
}
-package_blas() {
- pkgdesc="Basic Linear Algebra Subprograms"
- depends=('gcc-libs>=4.5.0')
- options=('force')
+package() {
install -m755 -d "${pkgdir}/usr/lib"
- install -m755 "${srcdir}/${pkgbase}-${pkgver}/libblas.so.${pkgver}" \
- "${pkgdir}/usr/lib/" || return 1
- ln -sf libblas.so.${pkgver} "${pkgdir}/usr/lib/libblas.so"
- ln -sf libblas.so.${pkgver} "${pkgdir}/usr/lib/libblas.so.3"
-
- install -m755 -d "${pkgdir}/usr/share/licenses/blas"
- install -m644 "${srcdir}/LICENSE.blas" \
- "${pkgdir}/usr/share/licenses/blas/LICENSE" || return 1
-}
-
-package_lapack() {
- pkgdesc="Linear Algebra PACKage"
- depends=("blas=${pkgver}")
- install -m755 -d "${pkgdir}/usr/lib"
- install -m755 "${srcdir}/${pkgbase}-${pkgver}/liblapack.so.${pkgver}" \
- "${pkgdir}/usr/lib/" || return 1
+ install -m755 "${srcdir}/${pkgname}-${pkgver}/liblapack.so.${pkgver}" \
+ "${pkgdir}/usr/lib/"
ln -sf liblapack.so.${pkgver} "${pkgdir}/usr/lib/liblapack.so"
ln -sf liblapack.so.${pkgver} "${pkgdir}/usr/lib/liblapack.so.3"
install -m755 -d "${pkgdir}/usr/share/licenses/lapack"
- install -m644 "${srcdir}/${pkgbase}-${pkgver}/LICENSE" \
- "${pkgdir}/usr/share/licenses/lapack/" || return 1
+ install -m644 "${srcdir}/${pkgname}-${pkgver}/LICENSE" \
+ "${pkgdir}/usr/share/licenses/lapack/"
}
+