diff options
author | lesibel <lesibel@free.fr> | 2009-11-10 14:41:18 +0100 |
---|---|---|
committer | lesibel <lesibel@free.fr> | 2009-11-10 14:41:18 +0100 |
commit | c86499cd7176aac322a1085919c350c226fc03e2 (patch) | |
tree | c6a2b306e09562fffda8ffc362578ff46ec14034 /extra/blas/Pkgfile | |
parent | 3972e08717d7c6cee26d3967748d98803101e4dd (diff) | |
download | nutyx-extra-c86499cd7176aac322a1085919c350c226fc03e2.tar.gz nutyx-extra-c86499cd7176aac322a1085919c350c226fc03e2.tar.bz2 nutyx-extra-c86499cd7176aac322a1085919c350c226fc03e2.tar.xz nutyx-extra-c86499cd7176aac322a1085919c350c226fc03e2.zip |
Ajout de blas#20070405-1
Diffstat (limited to 'extra/blas/Pkgfile')
-rw-r--r-- | extra/blas/Pkgfile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/extra/blas/Pkgfile b/extra/blas/Pkgfile new file mode 100644 index 000000000..a69e4cb11 --- /dev/null +++ b/extra/blas/Pkgfile @@ -0,0 +1,31 @@ +# Description: Basic Linear Algebra Subprograms +# URL: http://www.netlib.org/blas +# Maintainer: NuTyX core team +# Packager: lesibel at free dot fr +# Depends on: gcc-libs + +name=blas +version=20070405 +release=1 +source=(http://www.netlib.org/blas/blas.tgz + make.inc + license.txt) + +build() { + cd BLAS + + # Build with Position Independent Code (PIC) FS#12464 (i686), required for x86_64 + CFLAGS="${CFLAGS} -fPIC" + + cp $SRC/make.inc $SRC/BLAS/ + make OPTS="${CFLAGS}" NOOPT="${CFLAGS/-O?/-O0}" + + install -m755 -d $PKG/usr/lib + install -m755 libblas.so.3.0.3 $PKG/usr/lib/ + ln -sf libblas.so.3.0.3 $PKG/usr/lib/libblas.so + ln -sf libblas.so.3.0.3 $PKG/usr/lib/libblas.so.3 + + # Install custom license + install -d $PKG/usr/share/licenses/$name + install -m644 $SRC/license.txt $PKG/usr/share/licenses/$name/ +} |