debian swirl logo

Back to the packages list libibatis-java

#!/usr/bin/make -f

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

JAVA_HOME         := /usr/lib/jvm/java-gcj
DEB_ANT_BUILDFILE := debian/build.xml
DEB_JARS          := cglib commons-dbcp commons-logging log4j-1.2 oscache

install/libibatis-java:: 
	# compatibility symlink
		dh_link usr/share/java/ibatis-sqlmap.jar usr/share/java/ibatis.jar
		mh_installpoms -plibibatis-java --verbose
		mh_installjar -plibibatis-java debian/ibatis-sqlmap-*.pom ibatis.jar --java-lib

clean::
		mh_clean
		rm -f ibatis.jar

get-orig-source:
		uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename

Builds:

libibatis-java
ibatis data mapper framework