wok-next diff lapack/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | de8c315b3046 |
children | e19ff076dc63 |
line diff
1.1 --- a/lapack/receipt Fri Aug 11 13:06:12 2017 +0300 1.2 +++ b/lapack/receipt Fri Nov 02 14:15:08 2018 +0200 1.3 @@ -4,21 +4,20 @@ 1.4 VERSION="3.7.1" 1.5 CATEGORY="libs" 1.6 SHORT_DESC="Linear Algebra PACKage" 1.7 -MAINTAINER="slaxemulator@gmail.com" 1.8 +MAINTAINER="devel@slitaz.org" 1.9 LICENSE="BSD" 1.10 -WEB_SITE="http://www.netlib.org/lapack" 1.11 +WEB_SITE="http://www.netlib.org/lapack/" 1.12 1.13 TARBALL="$PACKAGE-$VERSION.tgz" 1.14 -WGET_URL="$WEB_SITE/$TARBALL" 1.15 +WGET_URL="$WEB_SITE$TARBALL" 1.16 1.17 BUILD_DEPENDS="cmake gfortran gcc-lib-math python" 1.18 -SPLIT="blas blas-dev lapack lapack-dev" 1.19 +SPLIT="blas blas-dev $PACKAGE $PACKAGE-dev" 1.20 1.21 -# Rules to configure and make the package. 1.22 -compile_rules() 1.23 -{ 1.24 - mkdir build; cd build 1.25 - cmake .. \ 1.26 +compile_rules() { 1.27 + mkdir build 1.28 + cd build 1.29 + cmake \ 1.30 -DCMAKE_BUILD_TYPE=Release \ 1.31 -DCMAKE_SKIP_RPATH=ON \ 1.32 -DBUILD_SHARED_LIBS=ON \ 1.33 @@ -28,9 +27,10 @@ 1.34 -DCMAKE_Fortran_COMPILER=gfortran \ 1.35 -DLAPACKE_WITH_TMG=ON \ 1.36 -DCBLAS=ON \ 1.37 - -DBUILD_DEPRECATED=ON && 1.38 + -DBUILD_DEPRECATED=ON \ 1.39 + .. && 1.40 make && 1.41 - make DESTDIR=$DESTDIR install 1.42 + make DESTDIR=$install install 1.43 1.44 licdir="$install/usr/share/licenses" 1.45 mkdir -p $licdir 1.46 @@ -38,9 +38,7 @@ 1.47 cp $src/LICENSE $licdir/lapack.LICENSE 1.48 } 1.49 1.50 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.51 -genpkg_rules() 1.52 -{ 1.53 +genpkg_rules() { 1.54 case $PACKAGE in 1.55 blas) 1.56 copy lib*blas.so*