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
|
#!/usr/bin/make -f
# debian/rules file for libcommons-logging-java (uses cdbs)
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/ant.mk
# These two must be specified
JAVA_HOME := /usr/lib/kaffe
ANT_HOME := /usr/share/ant1.6
# Additional JARs to add to the class path, either full path or just the
# basename for JARs in /usr/share/java. The ".jar" suffix may also be ommitted
DEB_JARS := commons-logging commons-collections /usr/share/ant1.6/lib/ant-launcher.jar
# Build compiler
DEB_ANT_COMPILER := jikes
# Defaults to debian/ant.properties
#DEB_ANT_PROPERTYFILE := build.properties
# Defaults to build.xml (Ant default) in $(DEB_BUILDDIR)
#DEB_ANT_BUILDFILE := build.xml
DEB_ANT_BUILD_TARGET := jar
install/libcommons-beanutils-java::
install -m 644 dist/commons-beanutils.jar debian/libcommons-beanutils-java/usr/share/java/commons-beanutils-1.6.1.jar
|