debian swirl logo

Back to the packages list libezmorph-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_JARS             := commons-lang commons-beanutils commons-logging junit4
PACKAGE              := ezmorph
MAVEN_REPO           := http://repo1.maven.org/maven2

install/libezmorph-java:: 
		install -m644 -D ezmorph.jar $(DEB_DESTDIR)/usr/share/java/ezmorph-$(DEB_UPSTREAM_VERSION).jar
		dh_link -plibezmorph-java /usr/share/java/ezmorph-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/ezmorph.jar

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

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

get-orig-pom:
		mkdir -p debian/poms
		wget  -U NoSuchBrowser/1.0 -O debian/poms/$(PACKAGE).xml \
			$(MAVEN_REPO)/net/sf/ezmorph/$(PACKAGE)/$(DEB_UPSTREAM_VERSION)/$(PACKAGE)-$(DEB_UPSTREAM_VERSION).pom

Builds:

libezmorph-java
java library for transforming an object to another object