From 7de97bfb2fec10568b85bfc5e57492117e146942 Mon Sep 17 00:00:00 2001 From: sibel Date: Tue, 13 Jul 2010 14:22:30 +0200 Subject: REmise dans base/ de blas --- base/blas/Pkgfile | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 base/blas/Pkgfile (limited to 'base/blas/Pkgfile') diff --git a/base/blas/Pkgfile b/base/blas/Pkgfile new file mode 100644 index 000000000..eecd0fc96 --- /dev/null +++ b/base/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/ +} -- cgit v1.2.3-70-g09d2