1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/ant.mk
PACKAGE := ant-contrib
VERSION := 1.0b3
JAVA_HOME := /usr/lib/jvm/default-java
ANT_HOME := /usr/share/ant
ANT_ARGS += -Djar.name=$(PACKAGE)-$(VERSION).jar
DEB_ANT_BUILD_TARGET := jar
DEB_ANT_CHECK_TARGET := test
DEB_JARS := \
ant-junit \
ivy \
commons-cli \
commons-codec \
commons-httpclient \
commons-logging \
oro \
xercesImpl
install/ant-contrib::
mh_installpoms -pant-contrib
mh_installjar -pant-contrib -l pom.xml target/$(PACKAGE)-$(VERSION).jar usr/share/ant/lib/ant-contrib.jar
clean::
mh_clean
|