diff options
author | lesibel <lesibel@free.fr> | 2009-11-10 14:45:09 +0100 |
---|---|---|
committer | lesibel <lesibel@free.fr> | 2009-11-10 14:45:09 +0100 |
commit | 92ddc722c5c74e8ab9bf0a78033b209560a736fd (patch) | |
tree | 5d74226f213a626ad81835077d5d2429709ee687 /extra/lapack/Pkgfile | |
parent | a2154e3ce1ac8b97c6cd6b738803b7e922c56eba (diff) | |
download | nutyx-pakxe-92ddc722c5c74e8ab9bf0a78033b209560a736fd.tar.gz nutyx-pakxe-92ddc722c5c74e8ab9bf0a78033b209560a736fd.tar.bz2 nutyx-pakxe-92ddc722c5c74e8ab9bf0a78033b209560a736fd.tar.xz nutyx-pakxe-92ddc722c5c74e8ab9bf0a78033b209560a736fd.zip |
Ajout de lapack#3.2.1-1
Diffstat (limited to 'extra/lapack/Pkgfile')
-rw-r--r-- | extra/lapack/Pkgfile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/extra/lapack/Pkgfile b/extra/lapack/Pkgfile new file mode 100644 index 000000000..be2741893 --- /dev/null +++ b/extra/lapack/Pkgfile @@ -0,0 +1,32 @@ +# Description: Linear Algebra PACKage +# URL: http://www.netlib.org/lapack +# Maintainer: NuTyX core team +# Packager: lesibel at free dot fr +# Depends on: blas + +name=lapack +version=3.2.1 +release=1 +source=(http://www.netlib.org/$name/$name-$version.tgz + make.inc.archlinux blas-link.patch) + +build() { + cd $name-$version + install -d $PKG/usr/lib + cp $SRC/make.inc.archlinux make.inc + + # fix blas linking FS#13093 + patch -Np1 -i $SRC/blas-link.patch + + # Build with Position Independent Code (PIC) FS#12464 (i686), required for x86_64 + CFLAGS="${CFLAGS} -fPIC" + + make clean + make lib OPTS="${CFLAGS}" NOOPT="${CFLAGS/-O?/-O0}" + install -m755 *.so* $PKG/usr/lib/ + ln -sf liblapack.so.3 $PKG/usr/lib/liblapack.so + ln -sf libtmglib.so.3 $PKG/usr/lib/libtmglib.so + install -Dm644 $SRC/$name-$version/LICENSE $PKG/usr/share/licenses/$name/LICENSE +} + + |