Package list libxstream-java / 01cf40a debian / rules
01cf40a

Tree @01cf40a (Download .tar.gz)

rules @01cf40araw · history · blame

#!/usr/bin/make -f

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

JAVA_HOME            := /usr/lib/jvm/java-6-openjdk
DEB_ANT_BUILDFILE    := xstream/build.xml
DEB_ANT_BUILD_TARGET := benchmark:compile jar
DEB_JARS             := xom joda-time jettison cglib dom4j xpp3 jdom1
ANT_OPTS	     := -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5

install/libxstream-java:: 
	install -m644 -D xstream/target/xstream-SNAPSHOT.jar $(DEB_DESTDIR)/usr/share/java/xstream-$(DEB_UPSTREAM_VERSION).jar
	dh_link -plibxstream-java /usr/share/java/xstream-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/xstream.jar
	install -m644 -D xstream/target/xstream-benchmark-SNAPSHOT.jar $(DEB_DESTDIR)/usr/share/java/xstream-benchmark-$(DEB_UPSTREAM_VERSION).jar
	dh_link -plibxstream-java /usr/share/java/xstream-benchmark-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/xstream-benchmark.jar

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