debian swirl logo

Back to the packages list commons-httpclient

#!/usr/bin/make -f
# debian/rules for libcommons-httpclient-java (uses CDBS)

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

PACKAGE			     := $(DEB_SOURCE_PACKAGE)
VERSION			     := $(DEB_UPSTREAM_VERSION)
JAVA_HOME            := /usr/lib/jvm/default-java
DEB_JARS             := junit commons-logging commons-codec
DEB_ANT_BUILD_TARGET := dist

DEB_INSTALL_CHANGELOGS_ALL = RELEASE_NOTES.txt

binary-post-install/lib$(PACKAGE)-java::
		mh_installpoms -plib$(PACKAGE)-java
		mh_installjar -plib$(PACKAGE)-java -l debian/pom.xml dist/$(PACKAGE)-$(VERSION).jar

get-orig-pom:
		wget -O debian/pom.xml http://repository.sonatype.org/service/local/repositories/central/content/commons-httpclient/commons-httpclient/$(DEB_UPSTREAM_VERSION)/commons-httpclient-$(DEB_UPSTREAM_VERSION).pom

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


Builds:

libcommons-httpclient-java
a java(tm) library for creating http clients
libcommons-httpclient-java-doc
documentation for libcommons-httpclient-java