# Fuente del empaquetado; debian/ se genera en la copia de construccion.
VERSION="2017.0.2.R1017-6"
BASEVERSION="2017.0.2.R1017"
SUMMARY="graficador independiente de tablas con Gnuplot"
DESCRIPTION="Lee DS/DAT y tablas sin requerir SCEPTRE. Interpreta PARAPLOT,
genera secciones GNUPLOT y permite ejecutar los graficos por separado.
Usa Slex para leer documentos y Tabular2 para preparar los datos.
Admite archivos o entrada estandar y una API Perl por contexto.
Conserva adaptadores para entradas historicas."
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-29), tabular (>= 2.0-18)"
BUILDDEPENDS="debhelper-compat (= 13), perl, make, d2datdinc (>= 1.0-29), tabular (>= 2.0-18), 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"
