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