debian swirl logo

Back to the packages list libcobra-java

#!/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/default-java
DEB_ANT_BUILDFILE	:= debian/build.xml
DEB_ANT_BUILD_TARGET 	:= jar javadoc
DEB_JARS 		:= js xml-apis
ANT_OPTS		:= -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5

install/libcobra-java::
		install -m 644 -D cobra.jar $(DEB_DESTDIR)/usr/share/java/cobra-$(DEB_UPSTREAM_VERSION).jar
		dh_link /usr/share/java/cobra-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/cobra.jar

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

Builds:

libcobra-java
java html renderer & parser