wok view eigen/receipt @ rev 25688

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 12 10:06:53 2024 +0000 (4 weeks ago)
parents ff9ccba72fd2
children
line source
1 # SliTaz package receipt.
3 PACKAGE="eigen"
4 VERSION="3.4.0"
5 CATEGORY="development"
6 SHORT_DESC="A C++ template library for linear algebra."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MPL2 LGPL BSD"
9 WEB_SITE="https://gitlab.com/libeigen/eigen"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://gitlab.com/libeigen/$PACKAGE/-/archive/$VERSION/$TARBALL"
14 DEPENDS="gcc83-lib-base"
15 BUILD_DEPENDS="cmake gcc83 glib pkg-config"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - 'https://gitlab.com/libeigen/eigen/-/tags?sort=updated_desc' 2>/dev/null | \
21 sed '/\/tags\//!d;s|.*">||;s|<.*||;q'
22 }
24 # Rules to configure and make the package.
25 #
26 compile_rules()
27 {
28 export CC=gcc-83
29 export CXX=g++-83
31 mkdir _build
32 cd _build
33 cmake .. \
34 -D CMAKE_INSTALL_PREFIX=/usr &&
35 make &&
36 make install DESTDIR=$DESTDIR
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 cp -a $install/* $fs
43 }