From 25c9e80d94002be73e9446fdc20cb7c7e84dcc3f Mon Sep 17 00:00:00 2001 From: tnut Date: Thu, 17 Dec 2009 21:00:59 +0100 Subject: blas, déplacé dans base et maj des dépendances MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- base/blas/.footprint | 9 +++++++++ base/blas/.md5sum | 3 +++ base/blas/Pkgfile | 30 ++++++++++++++++++++++++++++++ base/blas/license.txt | 19 +++++++++++++++++++ base/blas/make.inc | 34 ++++++++++++++++++++++++++++++++++ extra/blas/.footprint | 9 --------- extra/blas/.md5sum | 3 --- extra/blas/Pkgfile | 31 ------------------------------- extra/blas/license.txt | 19 ------------------- extra/blas/make.inc | 34 ---------------------------------- 10 files changed, 95 insertions(+), 96 deletions(-) create mode 100644 base/blas/.footprint create mode 100644 base/blas/.md5sum create mode 100644 base/blas/Pkgfile create mode 100644 base/blas/license.txt create mode 100644 base/blas/make.inc delete mode 100644 extra/blas/.footprint delete mode 100644 extra/blas/.md5sum delete mode 100644 extra/blas/Pkgfile delete mode 100644 extra/blas/license.txt delete mode 100644 extra/blas/make.inc diff --git a/base/blas/.footprint b/base/blas/.footprint new file mode 100644 index 000000000..3cec1dae5 --- /dev/null +++ b/base/blas/.footprint @@ -0,0 +1,9 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib/ +lrwxrwxrwx root/root usr/lib/libblas.so -> libblas.so.3.0.3 +lrwxrwxrwx root/root usr/lib/libblas.so.3 -> libblas.so.3.0.3 +-rwxr-xr-x root/root usr/lib/libblas.so.3.0.3 +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/licenses/ +drwxr-xr-x root/root usr/share/licenses/blas/ +-rw-r--r-- root/root usr/share/licenses/blas/license.txt diff --git a/base/blas/.md5sum b/base/blas/.md5sum new file mode 100644 index 000000000..40551f2b2 --- /dev/null +++ b/base/blas/.md5sum @@ -0,0 +1,3 @@ +7e6af7022440d8688d16be86d55fb358 blas.tgz +38b6acb8ed5691d25863319d30a8b365 license.txt +c9822d4699733bdee98f417565181f9c make.inc 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/ +} diff --git a/base/blas/license.txt b/base/blas/license.txt new file mode 100644 index 000000000..79f38386e --- /dev/null +++ b/base/blas/license.txt @@ -0,0 +1,19 @@ +From: http://www.netlib.org/blas/faq.html + + 2) Are there legal restrictions on the use of BLAS reference + implementation software? + +The reference BLAS is a freely-available software package. It is +available from netlib via anonymous ftp and the World Wide Web. Thus, +it can be included in commercial software packages (and has been). We +only ask that proper credit be given to the authors. + +Like all software, it is copyrighted. It is not trademarked, but we do +ask the following: + +If you modify the source for these routines we ask that you change the +name of the routine and comment the changes made to the original. + +We will gladly answer any questions regarding the software. If a +modification is done, however, it is the responsibility of the person +who modified the routine to provide support. diff --git a/base/blas/make.inc b/base/blas/make.inc new file mode 100644 index 000000000..3adb7654f --- /dev/null +++ b/base/blas/make.inc @@ -0,0 +1,34 @@ +#################################################################### +# BLAS make include file. # +# March 2007 # +#################################################################### +# +SHELL = /bin/sh +# +# The machine (platform) identifier to append to the library names +# +PLAT = _LINUX +# +# Modify the FORTRAN and OPTS definitions to refer to the +# compiler and desired compiler options for your machine. NOOPT +# refers to the compiler options desired when NO OPTIMIZATION is +# selected. Define LOADER and LOADOPTS to refer to the loader and +# desired load options for your machine. +# +FORTRAN = gfortran +OPTS = -O2 +DRVOPTS = $(OPTS) +NOOPT = -O0 +LOADER = gfortran +LOADOPTS = +# +# The archiver and the flag(s) to use when building archive (library) +# If you system has no ranlib, set RANLIB = echo. +# +ARCH = gfortran +ARCHFLAGS= -shared -o +RANLIB = echo +# +# The location and name of the Reference BLAS library. +# +BLASLIB = libblas.so.3.0.3 diff --git a/extra/blas/.footprint b/extra/blas/.footprint deleted file mode 100644 index 3cec1dae5..000000000 --- a/extra/blas/.footprint +++ /dev/null @@ -1,9 +0,0 @@ -drwxr-xr-x root/root usr/ -drwxr-xr-x root/root usr/lib/ -lrwxrwxrwx root/root usr/lib/libblas.so -> libblas.so.3.0.3 -lrwxrwxrwx root/root usr/lib/libblas.so.3 -> libblas.so.3.0.3 --rwxr-xr-x root/root usr/lib/libblas.so.3.0.3 -drwxr-xr-x root/root usr/share/ -drwxr-xr-x root/root usr/share/licenses/ -drwxr-xr-x root/root usr/share/licenses/blas/ --rw-r--r-- root/root usr/share/licenses/blas/license.txt diff --git a/extra/blas/.md5sum b/extra/blas/.md5sum deleted file mode 100644 index 40551f2b2..000000000 --- a/extra/blas/.md5sum +++ /dev/null @@ -1,3 +0,0 @@ -7e6af7022440d8688d16be86d55fb358 blas.tgz -38b6acb8ed5691d25863319d30a8b365 license.txt -c9822d4699733bdee98f417565181f9c make.inc diff --git a/extra/blas/Pkgfile b/extra/blas/Pkgfile deleted file mode 100644 index a69e4cb11..000000000 --- a/extra/blas/Pkgfile +++ /dev/null @@ -1,31 +0,0 @@ -# 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/ -} diff --git a/extra/blas/license.txt b/extra/blas/license.txt deleted file mode 100644 index 79f38386e..000000000 --- a/extra/blas/license.txt +++ /dev/null @@ -1,19 +0,0 @@ -From: http://www.netlib.org/blas/faq.html - - 2) Are there legal restrictions on the use of BLAS reference - implementation software? - -The reference BLAS is a freely-available software package. It is -available from netlib via anonymous ftp and the World Wide Web. Thus, -it can be included in commercial software packages (and has been). We -only ask that proper credit be given to the authors. - -Like all software, it is copyrighted. It is not trademarked, but we do -ask the following: - -If you modify the source for these routines we ask that you change the -name of the routine and comment the changes made to the original. - -We will gladly answer any questions regarding the software. If a -modification is done, however, it is the responsibility of the person -who modified the routine to provide support. diff --git a/extra/blas/make.inc b/extra/blas/make.inc deleted file mode 100644 index 3adb7654f..000000000 --- a/extra/blas/make.inc +++ /dev/null @@ -1,34 +0,0 @@ -#################################################################### -# BLAS make include file. # -# March 2007 # -#################################################################### -# -SHELL = /bin/sh -# -# The machine (platform) identifier to append to the library names -# -PLAT = _LINUX -# -# Modify the FORTRAN and OPTS definitions to refer to the -# compiler and desired compiler options for your machine. NOOPT -# refers to the compiler options desired when NO OPTIMIZATION is -# selected. Define LOADER and LOADOPTS to refer to the loader and -# desired load options for your machine. -# -FORTRAN = gfortran -OPTS = -O2 -DRVOPTS = $(OPTS) -NOOPT = -O0 -LOADER = gfortran -LOADOPTS = -# -# The archiver and the flag(s) to use when building archive (library) -# If you system has no ranlib, set RANLIB = echo. -# -ARCH = gfortran -ARCHFLAGS= -shared -o -RANLIB = echo -# -# The location and name of the Reference BLAS library. -# -BLASLIB = libblas.so.3.0.3 -- cgit v1.2.3-70-g09d2