debian swirl logo

Back to the packages list libj2ssh-java

#!/usr/bin/make -f

include /usr/share/cdbs/1/class/javahelper.mk
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_BUILD_TARGET	:= javadoc
DEB_JARS		:= commons-logging

clean::
		rm -rf docs

install/libj2ssh-java::
		dh_link /usr/share/java/j2ssh-core-$(DEB_UPSTREAM_VERSION).jar \
		  /usr/share/java/j2ssh-core.jar
		dh_link /usr/share/java/j2ssh-ant-$(DEB_UPSTREAM_VERSION).jar \
		  /usr/share/java/j2ssh-ant.jar
		dh_link /usr/share/java/j2ssh-dameon-$(DEB_UPSTREAM_VERSION).jar \
		  /usr/share/java/j2ssh-dameon.jar
		dh_link /usr/share/java/j2ssh-common-$(DEB_UPSTREAM_VERSION).jar \
		  /usr/share/java/j2ssh-common.jar

get-orig-source:
		uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename

Builds:

libj2ssh-java-doc
java library for the ssh protocol - documentation and examples
libj2ssh-java
java library for the ssh protocol