debian swirl logo

Back to the packages list jcifs

#!/usr/bin/make -f
# debian/rules file for jcifs (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_JARS := servlet-api-3.0
DEB_ANT_BUILD_TARGET := jar javadoc
DEB_ANT_CLEAN_TARGET := clean
DEB_COMPRESS_EXCLUDE := *.c *.java
DEB_INSTALL_CHANGELOGS_ALL := README.txt

clean::
		-$(RM) *.jar
		-$(RM) -Rf docs/api

install/libjcifs-java::
	# remove empty generated package-lists
		-$(RM) -f docs/api/package-list
		install -m 644 jcifs-$(DEB_UPSTREAM_VERSION).jar debian/libjcifs-java/usr/share/java/jcifs-$(DEB_UPSTREAM_VERSION).jar
		ln -s jcifs-$(DEB_UPSTREAM_VERSION).jar debian/libjcifs-java/usr/share/java/jcifs.jar

.PHONY: get-orig-source

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

Builds:

libjcifs-java-doc
documentation for libjcifs-java (cifs/smb library for java)
libjcifs-java
java library for the cifs/smb networking protocol