wok-next view extrema/receipt @ rev 12753

dosbox: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 11 13:42:55 2012 +0200 (2012-05-11)
parents 6b906ae89aad
children 39ef441aba07
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/<vector>/&\n#include <cstddef>/' \
21 src/Graphics/GRA_thiessenTriangulation.h
22 ./configure \
23 --enable-shared \
24 $CONFIGURE_ARGS &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib $fs/usr/share
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 cp -a $_pkg/usr/share/extrema $fs/usr/share
34 cp -a $_pkg/usr/bin $fs/usr
35 }