debian swirl logo

Back to the packages list jeuclid

#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/ant.mk

JAVA_HOME            := /usr/lib/jvm/default-java
DEB_ANT_BUILDFILE    := $(CURDIR)/debian/build.xml
DEB_JARS             := ant-nodeps junit commons-lang commons-cli fop jcip
DEB_ANT_BUILD_TARGET := compile-core compile-mathviewer compile-cli compile-fop

makebuilddir::
		if [ -d jeuclid-testsuite ]; then \
		  echo "You are shipping non-free code!"; \
		  exit 1; \
		fi

install/libjeuclid-core-java::
		install -m 644 -D target/jeuclid-core.jar debian/libjeuclid-core-java/usr/share/java/jeuclid-core-${DEB_UPSTREAM_VERSION}.jar
		ln -s jeuclid-core-${DEB_UPSTREAM_VERSION}.jar debian/libjeuclid-core-java/usr/share/java/jeuclid-core.jar

install/jeuclid-mathviewer::
		install -m 644 -D target/jeuclid-mathviewer.jar debian/jeuclid-mathviewer/usr/share/java/jeuclid-mathviewer-${DEB_UPSTREAM_VERSION}.jar
		ln -s jeuclid-mathviewer-${DEB_UPSTREAM_VERSION}.jar debian/jeuclid-mathviewer/usr/share/java/jeuclid-mathviewer.jar
		cp debian/jeuclid-mathviewer.sh debian/jeuclid-mathviewer/usr/bin/jeuclid-mathviewer

install/jeuclid-cli::
		install -m 644 -D target/jeuclid-cli.jar debian/jeuclid-cli/usr/share/java/jeuclid-cli-${DEB_UPSTREAM_VERSION}.jar
		ln -s jeuclid-cli-${DEB_UPSTREAM_VERSION}.jar debian/jeuclid-cli/usr/share/java/jeuclid-cli.jar
		cp debian/jeuclid-cli.sh debian/jeuclid-cli/usr/bin/jeuclid-cli

install/libjeuclid-fop-java::
		install -m 644 -D target/jeuclid-fop.jar debian/libjeuclid-fop-java/usr/share/java/jeuclid-fop-${DEB_UPSTREAM_VERSION}.jar
		ln -s jeuclid-fop-${DEB_UPSTREAM_VERSION}.jar debian/libjeuclid-fop-java/usr/share/java/jeuclid-fop.jar


get-orig-source:
		uscan --force-download --rename    

Builds:

jeuclid-cli
complete mathml rendering solution (command line tools)
jeuclid-mathviewer
complete mathml rendering solution (swing mathviewer)
libjeuclid-core-java
complete mathml rendering solution (java classes)
libjeuclid-fop-java
complete mathml rendering solution (fop plugin)