debian swirl logo

Back to the packages list jexcelapi

#!/usr/bin/make -f

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

POM_VERSION          := 2.6
MAVEN_REPO           := http://repository.sonatype.org/service/local/repositories/central/content

DEB_BUILDDIR         := build
JAVA_HOME            := /usr/lib/jvm/default-java
DEB_ANT_BUILD_TARGET := jxlall
DEB_ANT_CLEAN_TARGET := init clean


binary-post-install/libjexcelapi-java::
		mh_installpoms -plibjexcelapi-java
		mh_installjar -plibjexcelapi-java -l debian/pom.xml jxl.jar

clean::
		-rm -rf debian/tmp

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

get-orig-pom:
		wget -O debian/pom.xml $(MAVEN_REPO)/net/sourceforge/jexcelapi/jxl/$(POM_VERSION)/jxl-$(POM_VERSION).pom
		perl -p -i -e 's/$(POM_VERSION)/$(DEB_UPSTREAM_VERSION)/' debian/pom.xml

Builds:

libjexcelapi-java-doc
java api to read, write and modify excel spreadsheets - documentation
libjexcelapi-java
java api to read, write and modify excel spreadsheets