wok annotate eigen/receipt @ rev 24793
updated libgpg-error and libgpg-error-dev (1.37 -> 1.44)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 21 15:45:38 2022 +0100 (2022-03-21) |
parents | bfabe25c21ff |
children | 0c82700f4deb |
rev | line source |
---|---|
pascal@17321 | 1 # SliTaz package receipt. |
pascal@17321 | 2 |
pascal@17321 | 3 PACKAGE="eigen" |
Hans-G?nter@24511 | 4 VERSION="3.4.0" |
pascal@17321 | 5 CATEGORY="development" |
pascal@17321 | 6 SHORT_DESC="A C++ template library for linear algebra." |
pascal@17321 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17321 | 8 LICENSE="MPL2 LGPL BSD" |
Hans-G?nter@24511 | 9 WEB_SITE="https://eigen.tuxfamily.org/" |
Hans-G?nter@20871 | 10 |
Hans-G?nter@24511 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@24511 | 12 WGET_URL="https://gitlab.com/libeigen/$PACKAGE/-/archive/$VERSION/$TARBALL" |
pascal@17321 | 13 |
Hans-G?nter@24511 | 14 DEPENDS="gcc83-lib-base" |
Hans-G?nter@24511 | 15 BUILD_DEPENDS="cmake gcc83 glib pkg-config" |
pascal@17321 | 16 |
pascal@24439 | 17 # What is the latest version available today? |
pascal@24439 | 18 current_version() |
pascal@24439 | 19 { |
pascal@24439 | 20 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24439 | 21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q |
pascal@24439 | 22 } |
pascal@24439 | 23 |
pascal@17321 | 24 # Rules to configure and make the package. |
pascal@17321 | 25 # |
pascal@17321 | 26 compile_rules() |
pascal@17321 | 27 { |
Hans-G?nter@24511 | 28 export CC=gcc-83 |
Hans-G?nter@24511 | 29 export CXX=g++-83 |
Hans-G?nter@24511 | 30 |
Hans-G?nter@24511 | 31 mkdir _build |
Hans-G?nter@24511 | 32 cd _build |
Hans-G?nter@24511 | 33 cmake .. \ |
Hans-G?nter@24511 | 34 -D CMAKE_INSTALL_PREFIX=/usr && |
Hans-G?nter@24511 | 35 make && |
Hans-G?nter@24511 | 36 make install DESTDIR=$DESTDIR |
pascal@17321 | 37 } |
pascal@17321 | 38 |
pascal@17321 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17321 | 40 genpkg_rules() |
pascal@17321 | 41 { |
Hans-G?nter@24511 | 42 cp -a $install/* $fs |
pascal@17321 | 43 } |