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 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
|
#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-
# Copyright © 2005 Arnaud Vandyck <avdyk@debian.org>
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
include /usr/share/cdbs/1/class/ant.mk
export JITC_PROCESSOR_TYPE=6
JAVA_HOME_DIRS := /usr/local/IBMJava2-ppc-142 /usr/lib/j2se/1.4 /usr/lib/j2sdk1.4-sun /usr/lib/j2sdk1.4-ibm /usr/lib/j2sdk1.4-blackdown /usr/lib/kaffe
ANT_HOME := /usr/share/ant
DEB_JARS := servlet-api-2.4
DEB_ANT_PROPERTYFILE := debian/build.properties
DEB_ANT_BUILDFILE := debian/build.xml
# Additional options to pass to the Java virtual machine
#ANT_OPTS := -verify *
# Additional command-line arguments for Ant
#ANT_ARGS := -verbose
# Targets to invoke for building, installing, testing and cleaning up.
# Building uses the default target from build.xml, installing and testing is
# only called if the corresponding variable is set. You can also specify
# multiple targets for each step.
DEB_ANT_BUILD_TARGET := dist
#DEB_ANT_TEST_TARGET :=
# This example assumes that Ant creates a JAR in dist which should be installed
# into /usr/share/java with the appropriate API version in the name. These
# steps can also be handled by debhelper (debian/*.install and debian/*.links),
# of course.
LIBRARY_PACKAGE := pja
API_VERSION := 2.5
install/lib$(LIBRARY_PACKAGE)-java::
install -m 644 dist/$(LIBRARY_PACKAGE).jar debian/$(cdbs_curpkg)/usr/share/java/$(LIBRARY_PACKAGE)-$(API_VERSION).jar
ln -s $(LIBRARY_PACKAGE)-$(API_VERSION).jar debian/$(cdbs_curpkg)/usr/share/java/$(LIBRARY_PACKAGE).jar
install -m 644 dist/$(LIBRARY_PACKAGE)tools.jar debian/$(cdbs_curpkg)/usr/share/java/$(LIBRARY_PACKAGE)tools-$(API_VERSION).jar
ln -s $(LIBRARY_PACKAGE)tools-$(API_VERSION).jar debian/$(cdbs_curpkg)/usr/share/java/$(LIBRARY_PACKAGE)tools.jar
install -m755 bin/PJAFontCapture.sh debian/$(cdbs_curpkg)/usr/bin/PJAFontCapture
# dh_movefiles
|