wok view extrema/receipt @ rev 15000

Add some GPL2 licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 10 17:00:38 2013 +0000 (2013-08-10)
parents d010c07c31c6
children affba9aecc73
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+ wxWidgets xorg-libXxf86vm libxml2"
15 BUILD_DEPENDS="gtk+-dev wxWidgets-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 sed -i "s|^pkgdatadir = |&$DESTDIR|" src/Makefile*
22 sed -i 's/<vector>/&\n#include <cstddef>/' \
23 src/Graphics/GRA_thiessenTriangulation.h
24 mkdir -p $DESTDIR/usr/share/extrema
25 ./configure \
26 --enable-shared \
27 $CONFIGURE_ARGS &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib $fs/usr/share
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 cp -a $install/usr/share/extrema $fs/usr/share
37 cp -a $install/usr/bin $fs/usr
38 }