wok-next view extrema/receipt @ rev 13831
extrema: fix pkgdatadir
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 07 12:55:20 2013 +0100 (2013-01-07) |
parents | 3a03ec5c501a |
children | d010c07c31c6 |
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 ./configure \
24 --enable-shared \
25 $CONFIGURE_ARGS &&
26 make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib $fs/usr/share
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/usr/share/extrema $fs/usr/share
35 cp -a $_pkg/usr/bin $fs/usr
36 }