debian swirl logo

Back to the packages list libserializer

#!/usr/bin/make -f
# debian/rules file for libserializer-java (uses cdbs)

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

JAVA_HOME := /usr/lib/jvm/java-gcj
ANT_HOME := /usr/share/ant

DEB_JARS := $(ANT_HOME)/lib/ant-launcher.jar commons-logging libbase ant-contrib
DEB_ANT_BUILDFILE := build.xml
DEB_ANT_BUILD_TARGET := jar javadoc

DEB_UPSTREAM_VERSION := 1.1-SNAPSHOT

clean::
		if [ ! -d lib ]; then mkdir lib; fi

install/libserializer-java::
		install -D -m 644 ./dist/libserializer-$(DEB_UPSTREAM_VERSION).jar debian/libserializer-java/usr/share/java/libserializer-$(DEB_UPSTREAM_VERSION).jar
		ln -s libserializer-$(DEB_UPSTREAM_VERSION).jar debian/libserializer-java/usr/share/java/libserializer.jar
		jh_depends

Builds:

libserializer-java
general serializaton framework