debian swirl logo

Back to the packages list easyconf

#!/usr/bin/make -f

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

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

JAVA_HOME := /usr/lib/jvm/default-java
DEB_JARS  := commons-collections3 commons-logging commons-lang commons-digester commons-configuration commons-beanutils \
             struts-1.2 servlet-api-2.5 jsp-api-2.1 xstream junit ant-junit
DEB_ANT_BUILD_TARGET := jar javadoc
DEB_ANT_CHECK_TARGET := internal-test

makebuilddir::
		-mkdir -p src/conf

clean::
		-rm -rf src/conf
		-rm debian/tmp

binary-post-install/libeasyconf-java::
		mh_installpoms -plibeasyconf-java
		mh_installjar -plibeasyconf-java -l debian/pom.xml target/easyconf-$(DEB_UPSTREAM_VERSION).jar

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

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

Builds:

libeasyconf-java-doc
library to access configuration of software components - javadoc
libeasyconf-java
library to access configuration of software components