[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: CDBS class for Ant, was Re: [PROPOSAL] dh_ant



Arnaud Vandyck wrote:

Hi Stefan, I'm  migrating my libgef-java to CBDS but I  do not think you
did  commit your  changes  to libcommons-beanutils-java  to pkg-java  on
Alioth?   I'd  like   to  see   your  complete   debian/rules   and  you
debian/control files.

No, I did not commit the changes, simply because it's not my package. :-)

In debian/control, I just added "Build-Depends: cdbs, debhelper (>= 4.1)". debian/rules is the one that I've posted in my initial mail but since the formatting with TABs might be lost, I'm also attaching it here.

Stefan
#!/usr/bin/make -f
# debian/rules file for commons-beanutils (uses cdbs)

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

JAVA_HOME_DIRS := /usr/lib/j2se/1.3 /usr/lib/j2sdk1.3
ANT_HOME := /usr/share/ant
DEB_JARS := commons-collections commons-logging
#DEB_ANT_COMPILER := jikes
DEB_ANT_BUILD_TARGET := dist javadoc

LIBRARY=commons-beanutils
VERSION=1.6

install/lib${LIBRARY}-java::
	install -m 644 dist/${LIBRARY}.jar $(CURDIR)/debian/lib${LIBRARY}-java/usr/share/java/${LIBRARY}-${VERSION}.jar
	dh_movefiles --sourcedir=debian/lib${LIBRARY}-java


Reply to: