wok annotate extrema/receipt @ rev 16351

ARM: add slitaz-arm-codex (0.1)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 13 03:31:47 2014 +0200 (2014-04-13)
parents d010c07c31c6
children affba9aecc73
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"
pascal@15000 8 LICENSE="GPL2"
pankso@4329 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@4329 10 WEB_SITE="http://exsitewebware.com/extrema/"
pankso@4329 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
jozee@4935 12 TAGS="data visualization analysis"
pankso@4329 13
slaxemulator@10325 14 DEPENDS="gtk+ wxWidgets xorg-libXxf86vm libxml2"
pascal@10491 15 BUILD_DEPENDS="gtk+-dev wxWidgets-dev"
slaxemulator@10325 16
pankso@4329 17 # Rules to configure and make the package.
pankso@4329 18 compile_rules()
pankso@4329 19 {
pankso@4329 20 cd $src
pascal@13831 21 sed -i "s|^pkgdatadir = |&$DESTDIR|" src/Makefile*
pascal@12671 22 sed -i 's/<vector>/&\n#include <cstddef>/' \
pascal@12671 23 src/Graphics/GRA_thiessenTriangulation.h
pascal@13851 24 mkdir -p $DESTDIR/usr/share/extrema
pankso@4329 25 ./configure \
slaxemulator@10325 26 --enable-shared \
slaxemulator@10325 27 $CONFIGURE_ARGS &&
slaxemulator@10325 28 make && make install
pankso@4329 29 }
pankso@4329 30
pankso@4329 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4329 32 genpkg_rules()
pankso@4329 33 {
pankso@4329 34 mkdir -p $fs/usr/lib $fs/usr/share
pascal@15000 35 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@15000 36 cp -a $install/usr/share/extrema $fs/usr/share
pascal@15000 37 cp -a $install/usr/bin $fs/usr
pankso@4329 38 }