debian swirl logo

Back to the packages list libjgroups-java

#!/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
ANT_OPTS             := -Xmx128M
DEB_ANT_BUILD_TARGET := jar
#does no longer work with 2.7.0
#DEB_ANT_CHECK_TARGET := -Djgroups.bind_addr=`hostname` all-tests
DEB_JARS             := xalan2 serializer junit log4j-1.2 bsh commons-logging glassfish-javaee ant-junit testng
ANT_OPTS	     := -Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6

install/libjgroups-java::
		mh_installpom -plibjgroups-java pom.xml
		mh_installjar -plibjgroups-java pom.xml -l dist/jgroups-2.12.2.Final.jar

get-orig-source:
		uscan --debug --download-version `echo $(DEB_UPSTREAM_VERSION) | sed -e 's/\./_/g'` --force-download --rename

clean::
		mh_clean
		rm -f build.properties

Builds:

libjgroups-java
toolkit for reliable multicast communication