summaryrefslogtreecommitdiffstats
path: root/blas/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
committertnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
commit3f57a7f93b3e7550cbd73036f6a56654e17d1d5c (patch)
tree819b14ab0377fe2054fe59866669d904e9e0b4b5 /blas/Pkgfile
parentc9972ec7f32bf9d37388e853fe9bf633e242d05a (diff)
downloadnutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.gz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.bz2
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.xz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.zip
split de git pakxe et NuTyX-extra
Diffstat (limited to 'blas/Pkgfile')
-rw-r--r--blas/Pkgfile30
1 files changed, 30 insertions, 0 deletions
diff --git a/blas/Pkgfile b/blas/Pkgfile
new file mode 100644
index 000000000..eecd0fc96
--- /dev/null
+++ b/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/
+}