debian swirl logo

Back to the packages list cpptasks

#!/usr/bin/make -f

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

PACKAGE := ant-contrib-cpptasks
VERSION := 1.0~b5

JAVA_HOME := /usr/lib/jvm/default-java
ANT_HOME := /usr/share/ant
ANT_ARGS += -Djar.name=$(PACKAGE)-$(VERSION).jar
DEB_JARS := \
		xercesImpl

install/ant-contrib-cpptasks::
		mv target/lib/cpptasks.jar target/lib/$(PACKAGE)-$(VERSION).jar
		dh_install target/lib/$(PACKAGE)-$(VERSION).jar usr/share/java
		dh_link usr/share/java/$(PACKAGE)-$(VERSION).jar usr/share/java/$(PACKAGE).jar

Builds:

ant-contrib-cpptasks
c/c++ compilation tasks for ant.