wok-6.x annotate extrema/receipt @ rev 24753
freetype-dev: added folder bin
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 17 06:39:40 2022 +0100 (2022-03-17) |
parents | affba9aecc73 |
children |
rev | line source |
---|---|
pankso@4329 | 1 # SliTaz package receipt. |
pankso@4329 | 2 |
pankso@4329 | 3 PACKAGE="extrema" |
slaxemulator@9591 | 4 VERSION="4.4.5" |
pankso@4329 | 5 CATEGORY="office" |
pankso@4329 | 6 SHORT_DESC="Powerful visualization and data analysis tool." |
pankso@4329 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
pankso@4329 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@4329 | 10 WEB_SITE="http://exsitewebware.com/extrema/" |
pankso@4329 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
jozee@4935 | 12 TAGS="data visualization analysis" |
pankso@4329 | 13 |
al@18521 | 14 DEPENDS="gtk+ wxWidgets28 xorg-libXxf86vm libxml2" |
al@18521 | 15 BUILD_DEPENDS="gtk+-dev wxWidgets28-dev" |
slaxemulator@10325 | 16 |
pascal@24385 | 17 # What is the latest version available today? |
pascal@24385 | 18 current_version() |
pascal@24385 | 19 { |
pascal@24385 | 20 wget -O - https://sourceforge.net/projects/extrema/files/extrema/ 2>/dev/null | \ |
pascal@24385 | 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24385 | 22 sed '/scope="row/!d;s|.*%20v||;s|/.*||;q' |
pascal@24385 | 23 } |
pascal@24385 | 24 |
pankso@4329 | 25 # Rules to configure and make the package. |
pankso@4329 | 26 compile_rules() |
pankso@4329 | 27 { |
pascal@13831 | 28 sed -i "s|^pkgdatadir = |&$DESTDIR|" src/Makefile* |
pascal@12671 | 29 sed -i 's/<vector>/&\n#include <cstddef>/' \ |
pascal@12671 | 30 src/Graphics/GRA_thiessenTriangulation.h |
pascal@13851 | 31 mkdir -p $DESTDIR/usr/share/extrema |
pankso@4329 | 32 ./configure \ |
slaxemulator@10325 | 33 --enable-shared \ |
slaxemulator@10325 | 34 $CONFIGURE_ARGS && |
slaxemulator@10325 | 35 make && make install |
pankso@4329 | 36 } |
pankso@4329 | 37 |
pankso@4329 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4329 | 39 genpkg_rules() |
pankso@4329 | 40 { |
pankso@4329 | 41 mkdir -p $fs/usr/lib $fs/usr/share |
pascal@15000 | 42 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@15000 | 43 cp -a $install/usr/share/extrema $fs/usr/share |
pascal@15000 | 44 cp -a $install/usr/bin $fs/usr |
pankso@4329 | 45 } |