wok view blas/receipt @ rev 21950

updated libsqlite-tcl (3.18.0 -> 3.30.0)
author Hans-G?nter Theisgen
date Wed Oct 09 14:44:45 2019 +0100 (2019-10-09)
parents af7a6c3cc021
children 9af0e03b8ad0
line source
1 # SliTaz package receipt.
3 PACKAGE="blas"
4 VERSION="3.4.0"
5 CATEGORY="misc"
6 SHORT_DESC="Basic Linear Algebra Subprograms"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="BSD"
9 SOURCE="lapack"
10 TARBALL="$SOURCE-$VERSION.tgz"
11 WEB_SITE="http://www.netlib.org/lapack"
12 WGET_URL="$WEB_SITE/$TARBALL"
14 DEPENDS="gcc-lib-base"
15 BUILD_DEPENDS="gfortran"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 cp -f $src/INSTALL/make.inc.gfortran make.inc
22 cp -f "$stuff/Makefile.blas" $src/BLAS/SRC/Makefile
24 export FC=gfortran
26 cd $src/BLAS/SRC
27 make clean
28 FFLAGS="${CFLAGS/-O?/-O0}" make dcabs1.o
29 FFLAGS="${CFLAGS} -fPIC" CFLAGS="${CFLAGS} -fPIC" make shared
30 cp libblas.so.$VERSION "$src"
31 cd $src
32 ln -s libblas.so.$VERSION libblas.so
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
40 install -m755 -d "$fs/usr/lib"
41 install -m755 "$src/libblas.so.$VERSION" \
42 "$fs/usr/lib/"
43 ln -sf libblas.so.$VERSION "$fs/usr/lib/libblas.so"
44 ln -sf libblas.so.$VERSION "$fs/usr/lib/libblas.so.3"
46 install -m755 -d "$fs/usr/share/licenses"
47 install -m644 "$stuff/LICENSE.blas" \
48 "$fs/usr/share/licenses/blas.LICENSE"
49 }