debian swirl logo

Back to the packages list trove3

#!/usr/bin/make -f
# debian/rules file for trove (uses cdbs)

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_BUILD_TARGET := jar javadoc
ANT_ARGS             := -Dversion.number=$(DEB_UPSTREAM_VERSION)

cleanbuilddir::
		$(RM) -r output

binary-post-install/libtrove3-java::
		dh_install -plibtrove3-java \
		  output/lib/trove-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/
		dh_link -plibtrove3-java \
		  /usr/share/java/trove-$(DEB_UPSTREAM_VERSION).jar \
		  /usr/share/java/trove-3.jar

binary-post-install/libtrove3-java-doc::
		dh_install -plibtrove3-java-doc \
		  output/javadocs/* /usr/share/doc/libtrove3-java-doc/api

get-orig-source:
		uscan --upstream-version 0 --rename

Builds:

libtrove3-java-doc
high performance collections for java
libtrove3-java
high performance collections for java