debian swirl logo

Back to the packages list libdb-je-java

#!/usr/bin/make -f

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

JAVA_HOME 		:= /usr/lib/jvm/default-java
DEB_ANT_BUILD_TARGET	:= jar
DEB_ANT_BUILDFILE	:= debian/build.xml
DEB_JARS		:= glassfish-javaee

install/libdb-je-java::
		install -m 644 -D db-je.jar $(DEB_DESTDIR)/usr/share/java/db-je-$(DEB_UPSTREAM_VERSION).jar
		dh_link /usr/share/java/db-je-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/db-je.jar

binary-predeb/libdb-je-java::
	# remove empty directories
		find  $(DEB_DESTDIR) -type 'd' -empty -delete

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

Builds:

libdb-je-java
oracle berkeley database java edition