# Fuente del empaquetado; debian/ se genera en la copia de construccion.
VERSION="2017.0.2.R1017-3"
BASEVERSION="2017.0.2.R1017"
SUMMARY="graficador independiente de tablas con Gnuplot"
DESCRIPTION="Lee DS/DAT y tablas sin requerir SCEPTRE. Conserva el motor historico
y ofrece un modelo grafico v2, RESULTADOS, UNIDADES y proyecciones por pares.
Delega la lectura y conversion numerica a Tabular2 y GNU units.
Ofrece una API Perl por contexto, con motor v2 reentrante y ejecucion
del motor historico aislada en procesos."
MAINTAINER="Diego Saravia <dsa@unsa.edu.ar>"
HOMEPAGE="https://www.simusol.org/?Simplot"
SECTION="science"
PRIORITY="optional"
STANDARDS="4.6.2"
LICENSE="GPL-3.0+"
PACKAGES="simplot"
simplot_ARCH="all"
DEPENDS="\${misc:Depends}, \${perl:Depends}, libpath-class-perl, libcapture-tiny-perl, gnuplot (>= 5), d2datdinc (>= 1.0-25), tabular (>= 2.0-16)"
BUILDDEPENDS="debhelper-compat (= 13), perl, make, d2datdinc (>= 1.0-25), tabular (>= 2.0-16), libpath-class-perl, libcapture-tiny-perl, gnuplot-nox (>= 5) | gnuplot (>= 5), coreutils"
SOURCE_EXTRA="Rules-Requires-Root: no"
simplot_EXTRA="Recommends: gnuplot-x11 (>= 5)"
DH=""
CONFIGURE=""
FUENTES_CONSTRUIR='make && make check'
FUENTES_INSTALAR='make install PREFIX="$PREFIX"'
ARCHIVOS="simplot.install docs copyright"
RULES=$(cat << 'FIN_SUMMA'
# Mismo instalador para fuentes y paquetes; no usar Makefile.PL historico.
override_dh_auto_configure:
override_dh_auto_build:
	$(MAKE) all
override_dh_auto_clean:
	$(MAKE) clean
override_dh_auto_test:
	$(MAKE) check
override_dh_auto_install:
	$(MAKE) install PREFIX=/usr DESTDIR="$(CURDIR)/debian/tmp"
FIN_SUMMA
)
ARCHIVO_simplot_install=$(cat << 'FIN_SUMMA'
usr/bin/simplot
usr/bin/simplot.pl
usr/share/perl5
usr/share/simplot
usr/share/doc/simplot
FIN_SUMMA
)
# La documentacion se instala con make install, no una segunda copia.
ARCHIVO_docs=""
ARCHIVO_copyright=$(cat << 'FIN_SUMMA'
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: simplot
Source: https://www.simusol.org/

Files: *
Copyright: 2018-2026 Diego Saravia <dsa@unsa.edu.ar>
License: GPL-3+
 This program is free software under GNU GPL version 3 or later.
 On Debian systems the complete license is in /usr/share/common-licenses/GPL-3.
FIN_SUMMA
)
ARCHIVO_source_format="3.0 (quilt)"
KEYWORDS="simusol simplot"
AUTHOR="Dolores Alia <dolores.alia@gmail.com>"
VENDOR="INENCO"
PRIMARYSITE="https://www.simusol.org"
SUMMAVERSION="1"
