debian swirl logo

Back to the packages list simple-xml

#!/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_JARS             := stax stax-api
DEB_ANT_BUILD_TARGET := build javadoc
DEB_ANT_BUILDFILE    := build.xml
DEB_ANT_ARGS         := -Dpackage=$(DEB_SOURCE_PACKAGE) -DartifactId=$(DEB_SOURCE_PACKAGE) -Dversion=$(DEB_UPSTREAM_VERSION)

binary-post-install/lib$(DEB_SOURCE_PACKAGE)-java::
		mh_installpoms -plib$(DEB_SOURCE_PACKAGE)-java
		mh_installjar -plib$(DEB_SOURCE_PACKAGE)-java -l debian/pom.xml jar/$(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).jar

clean::
		rm -rf api build
		-rm -rf debian/tmp

Builds:

libsimple-xml-java
a xml serialization and configuration framework for java
libsimple-xml-java-doc
api documentation for libsimple-xml-java