debian swirl logo

Back to the packages list jcharts

#!/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 	:= build/build.xml
DEB_JARS		:= batik servlet-api-2.5
ANT_ARGS		:= -Dbatik.classpath=/usr/share/java/batik.jar -Dant.build.javac.source=1.4
DEB_ANT_BUILD_TARGET	:= jar javadocs

clean::
		rm -rf build/garbage
		rm -rf build/javadocs
		rm -f build/jCharts-$(DEB_UPSTREAM_VERSION).jar

install/libjcharts-java::
		dh_install build/jCharts-$(DEB_UPSTREAM_VERSION).jar usr/share/java/
		dh_link /usr/share/java/jCharts-$(DEB_UPSTREAM_VERSION).jar usr/share/java/jcharts.jar

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

Builds:

libjcharts-java-doc
java based charts library (api docs)
libjcharts-java
java based charts library