wok-next annotate extrema/receipt @ rev 14535
firefox-dev: Up to 17.0.6esr
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Wed May 22 19:05:54 2013 +0200 (2013-05-22) |
parents | 39ef441aba07 |
children | 380ffe05937a |
rev | line source |
---|---|
pankso@4329 | 1 # SliTaz package receipt. |
pankso@4329 | 2 |
pankso@4329 | 3 PACKAGE="extrema" |
slaxemulator@9591 | 4 VERSION="4.4.5" |
pankso@4329 | 5 CATEGORY="office" |
pankso@4329 | 6 SHORT_DESC="Powerful visualization and data analysis tool." |
pankso@4329 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@4329 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@4329 | 9 WEB_SITE="http://exsitewebware.com/extrema/" |
pankso@4329 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
jozee@4935 | 11 TAGS="data visualization analysis" |
pankso@4329 | 12 |
slaxemulator@10325 | 13 DEPENDS="gtk+ wxWidgets xorg-libXxf86vm libxml2" |
pascal@10491 | 14 BUILD_DEPENDS="gtk+-dev wxWidgets-dev" |
slaxemulator@10325 | 15 |
pankso@4329 | 16 # Rules to configure and make the package. |
pankso@4329 | 17 compile_rules() |
pankso@4329 | 18 { |
pankso@4329 | 19 cd $src |
pascal@13831 | 20 sed -i "s|^pkgdatadir = |&$DESTDIR|" src/Makefile* |
pascal@12671 | 21 sed -i 's/<vector>/&\n#include <cstddef>/' \ |
pascal@12671 | 22 src/Graphics/GRA_thiessenTriangulation.h |
pascal@13851 | 23 mkdir -p $DESTDIR/usr/share/extrema |
pankso@4329 | 24 ./configure \ |
slaxemulator@10325 | 25 --enable-shared \ |
slaxemulator@10325 | 26 $CONFIGURE_ARGS && |
slaxemulator@10325 | 27 make && make install |
pankso@4329 | 28 } |
pankso@4329 | 29 |
pankso@4329 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4329 | 31 genpkg_rules() |
pankso@4329 | 32 { |
pankso@4329 | 33 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@4329 | 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@4329 | 35 cp -a $_pkg/usr/share/extrema $fs/usr/share |
pankso@4329 | 36 cp -a $_pkg/usr/bin $fs/usr |
pankso@4329 | 37 } |