wok-current view eigen/receipt @ rev 25124
updated apache-mod-perl (2.0.8 -> 2.0.11)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jun 28 16:23:55 2022 +0100 (2022-06-28) |
parents | bfabe25c21ff |
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://eigen.tuxfamily.org/"
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 - $WEB_SITE 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed 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 }