wok-6.x view extrema/receipt @ rev 20352

pinentry: try with newer gcc and specify build
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 13:10:46 2018 +0000 (2018-06-09)
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 }