wok-current rev 24511

updated eigen (3.3.7 -> 3.4.0)
author Hans-G?nter Theisgen
date Mon Feb 21 09:33:38 2022 +0100 (2022-02-21)
parents 3ef416821a7d
children e6b1d0b43c4a
files eigen/description.txt eigen/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/eigen/description.txt	Mon Feb 21 09:33:38 2022 +0100
     1.3 @@ -0,0 +1,4 @@
     1.4 +Eigen is a C++ template library for linear algebra:
     1.5 +matrices, vectors, numerical solvers, and related algorithms.
     1.6 +
     1.7 +Eigen doesn't have any dependencies other than the C++ standard library. 
     1.8 \ No newline at end of file
     2.1 --- a/eigen/receipt	Mon Feb 21 06:58:51 2022 +0100
     2.2 +++ b/eigen/receipt	Mon Feb 21 09:33:38 2022 +0100
     2.3 @@ -1,18 +1,18 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="eigen"
     2.7 -VERSION="3.3.7"
     2.8 +VERSION="3.4.0"
     2.9  CATEGORY="development"
    2.10  SHORT_DESC="A C++ template library for linear algebra."
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
    2.12  LICENSE="MPL2 LGPL BSD"
    2.13 -WEB_SITE="http://eigen.tuxfamily.org/"
    2.14 +WEB_SITE="https://eigen.tuxfamily.org/"
    2.15  
    2.16 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.17 -WGET_URL="https://bitbucket.org/$PACKAGE/$PACKAGE/get/$VERSION.tar.bz2"
    2.18 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.19 +WGET_URL="https://gitlab.com/libeigen/$PACKAGE/-/archive/$VERSION/$TARBALL"
    2.20  
    2.21 -DEPENDS=""
    2.22 -BUILD_DEPENDS="cmake pkg-config glib"
    2.23 +DEPENDS="gcc83-lib-base"
    2.24 +BUILD_DEPENDS="cmake gcc83 glib pkg-config"
    2.25  
    2.26  # What is the latest version available today?
    2.27  current_version()
    2.28 @@ -25,15 +25,19 @@
    2.29  #
    2.30  compile_rules()
    2.31  {
    2.32 -	mkdir built
    2.33 -	cd built
    2.34 -	cmake -DCMAKE_INSTALL_PREFIX=/usr ../
    2.35 -	make -j 1 &&
    2.36 -	make DESTDIR=$DESTDIR install
    2.37 +	export	CC=gcc-83
    2.38 +	export	CXX=g++-83
    2.39 +
    2.40 +	mkdir	_build
    2.41 +	cd	_build
    2.42 +	cmake	..				\
    2.43 +		-D CMAKE_INSTALL_PREFIX=/usr &&
    2.44 +	make &&
    2.45 +	make install DESTDIR=$DESTDIR
    2.46  }
    2.47  
    2.48  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.49  genpkg_rules()
    2.50  {
    2.51 -	cp -a $install/* $fs
    2.52 +	cp -a $install/*	$fs
    2.53  }