wok-6.x diff blas/receipt @ rev 14952
Up: ethumb-dev (1.7.8)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Aug 08 19:16:04 2013 +0200 (2013-08-08) |
parents | |
children | 8d6f480bf664 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/blas/receipt Thu Aug 08 19:16:04 2013 +0200 1.3 @@ -0,0 +1,48 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="blas" 1.7 +VERSION="3.4.0" 1.8 +CATEGORY="misc" 1.9 +SHORT_DESC="Basic Linear Algebra Subprograms" 1.10 +MAINTAINER="slaxemulator@gmail.com" 1.11 +SOURCE="lapack" 1.12 +TARBALL="$SOURCE-$VERSION.tgz" 1.13 +WEB_SITE="http://www.netlib.org/lapack" 1.14 +WGET_URL="$WEB_SITE/$TARBALL" 1.15 + 1.16 +DEPENDS="gcc-lib-base" 1.17 +BUILD_DEPENDS="gfortran" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + cd $src 1.23 + cp -f $src/INSTALL/make.inc.gfortran make.inc 1.24 + cp -f "$stuff/Makefile.blas" $src/BLAS/SRC/Makefile 1.25 + 1.26 + export FC=gfortran 1.27 + 1.28 + cd $src/BLAS/SRC 1.29 + make clean 1.30 + FFLAGS="${CFLAGS/-O?/-O0}" make dcabs1.o 1.31 + FFLAGS="${CFLAGS} -fPIC" CFLAGS="${CFLAGS} -fPIC" make shared 1.32 + cp libblas.so.$VERSION "$src" 1.33 + cd $src 1.34 + ln -s libblas.so.$VERSION libblas.so 1.35 +} 1.36 + 1.37 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.38 +genpkg_rules() 1.39 +{ 1.40 + mkdir -p $fs/usr 1.41 + 1.42 + install -m755 -d "$fs/usr/lib" 1.43 + install -m755 "$src/libblas.so.$VERSION" \ 1.44 + "$fs/usr/lib/" 1.45 + ln -sf libblas.so.$VERSION "$fs/usr/lib/libblas.so" 1.46 + ln -sf libblas.so.$VERSION "$fs/usr/lib/libblas.so.3" 1.47 + 1.48 + install -m755 -d "$fs/usr/share/licenses" 1.49 + install -m644 "$stuff/LICENSE.blas" \ 1.50 + "$fs/usr/share/licenses/blas.LICENSE" 1.51 +}