wok-6.x diff eigen/receipt @ rev 25375
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 30 08:30:06 2022 +0000 (2022-07-30) |
parents | bfabe25c21ff |
children |
line diff
1.1 --- a/eigen/receipt Sun Feb 13 18:01:32 2022 +0000 1.2 +++ b/eigen/receipt Sat Jul 30 08:30:06 2022 +0000 1.3 @@ -1,18 +1,18 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="eigen" 1.7 -VERSION="3.3.7" 1.8 +VERSION="3.4.0" 1.9 CATEGORY="development" 1.10 SHORT_DESC="A C++ template library for linear algebra." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 LICENSE="MPL2 LGPL BSD" 1.13 -WEB_SITE="http://eigen.tuxfamily.org/" 1.14 +WEB_SITE="https://eigen.tuxfamily.org/" 1.15 1.16 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.17 -WGET_URL="https://bitbucket.org/$PACKAGE/$PACKAGE/get/$VERSION.tar.bz2" 1.18 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.19 +WGET_URL="https://gitlab.com/libeigen/$PACKAGE/-/archive/$VERSION/$TARBALL" 1.20 1.21 -DEPENDS="" 1.22 -BUILD_DEPENDS="cmake pkg-config glib" 1.23 +DEPENDS="gcc83-lib-base" 1.24 +BUILD_DEPENDS="cmake gcc83 glib pkg-config" 1.25 1.26 # What is the latest version available today? 1.27 current_version() 1.28 @@ -25,15 +25,19 @@ 1.29 # 1.30 compile_rules() 1.31 { 1.32 - mkdir built 1.33 - cd built 1.34 - cmake -DCMAKE_INSTALL_PREFIX=/usr ../ 1.35 - make -j 1 && 1.36 - make DESTDIR=$DESTDIR install 1.37 + export CC=gcc-83 1.38 + export CXX=g++-83 1.39 + 1.40 + mkdir _build 1.41 + cd _build 1.42 + cmake .. \ 1.43 + -D CMAKE_INSTALL_PREFIX=/usr && 1.44 + make && 1.45 + make install DESTDIR=$DESTDIR 1.46 } 1.47 1.48 # Rules to gen a SliTaz package suitable for Tazpkg. 1.49 genpkg_rules() 1.50 { 1.51 - cp -a $install/* $fs 1.52 + cp -a $install/* $fs 1.53 }