wok-6.x view extrema/receipt @ rev 14651
get-libaacs: typos
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 04 12:23:01 2013 +0200 (2013-06-04) |
parents | 39ef441aba07 |
children | 380ffe05937a |
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://exsitewebware.com/extrema/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 TAGS="data visualization analysis"
13 DEPENDS="gtk+ wxWidgets xorg-libXxf86vm libxml2"
14 BUILD_DEPENDS="gtk+-dev wxWidgets-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
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 $_pkg/usr/lib/*.so* $fs/usr/lib
35 cp -a $_pkg/usr/share/extrema $fs/usr/share
36 cp -a $_pkg/usr/bin $fs/usr
37 }