wok view extrema/receipt @ rev 24175
Up usbids (20211224)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 30 11:41:25 2021 +0000 (2021-12-30) |
parents | 380ffe05937a |
children | 640a2eba2511 |
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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i "s|^pkgdatadir = |&$DESTDIR|" src/Makefile*
21 sed -i 's/<vector>/&\n#include <cstddef>/' \
22 src/Graphics/GRA_thiessenTriangulation.h
23 mkdir -p $DESTDIR/usr/share/extrema
24 ./configure \
25 --enable-shared \
26 $CONFIGURE_ARGS &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib $fs/usr/share
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 cp -a $install/usr/share/extrema $fs/usr/share
36 cp -a $install/usr/bin $fs/usr
37 }