summaryrefslogtreecommitdiffstats
path: root/test/blas/Pkgfile
diff options
context:
space:
mode:
authorsibel <lesibel at free dot fr>2010-06-24 18:14:40 +0200
committersibel <lesibel at free dot fr>2010-06-24 18:14:40 +0200
commiteba134ad8ae5969a3157f9ac03aecd37e97d21bb (patch)
treef65eb75a743f89b5c8fe6beaa970dc55b7cd739d /test/blas/Pkgfile
parent9f61e0735bd4563a02511625e3b5b72d846f5ef2 (diff)
downloadnutyx-pakxe-eba134ad8ae5969a3157f9ac03aecd37e97d21bb.tar.gz
nutyx-pakxe-eba134ad8ae5969a3157f9ac03aecd37e97d21bb.tar.bz2
nutyx-pakxe-eba134ad8ae5969a3157f9ac03aecd37e97d21bb.tar.xz
nutyx-pakxe-eba134ad8ae5969a3157f9ac03aecd37e97d21bb.zip
blas, déplacé dans test
Diffstat (limited to 'test/blas/Pkgfile')
-rw-r--r--test/blas/Pkgfile30
1 files changed, 30 insertions, 0 deletions
diff --git a/test/blas/Pkgfile b/test/blas/Pkgfile
new file mode 100644
index 000000000..eecd0fc96
--- /dev/null
+++ b/test/blas/Pkgfile
@@ -0,0 +1,30 @@
+# Description: Basic Linear Algebra Subprograms
+# URL: http://www.netlib.org/blas
+# Maintainer: NuTyX core team
+# Packager: lesibel at free dot fr
+# Depends on:
+
+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/
+}