debian swirl logo

Back to the packages list commons-pool

#!/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
DEB_JARS        := junit ant-junit
PACKAGE		:= $(DEB_SOURCE_PACKAGE)
VERSION 	:= $(DEB_UPSTREAM_VERSION)

DEB_ANT_CLEAN_TARGET := clean
DEB_ANT_BUILD_TARGET := dist
DEB_ANT_CHECK_TARGET := test

# Per Debian Java Policy, install a versioned JAR and an unversioned symlink
binary-post-install/lib$(PACKAGE)-java::
		mh_installpoms -plib$(PACKAGE)-java
		mh_installjar -plib$(PACKAGE)-java -l pom.xml dist/$(PACKAGE)-$(VERSION).jar

clean::
		mh_clean

get-orig-source:
		uscan --force-download --rename

Builds:

libcommons-pool-java-doc
pooling implementation for java objects - documentation
libcommons-pool-java
pooling implementation for java objects