File: rules

package info (click to toggle)
librelaxng-datatype-java 1.0-2.1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 108 kB
  • ctags: 8
  • sloc: makefile: 15
file content (23 lines) | stat: -rwxr-xr-x 771 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f

DEB_TAR_SRCDIR   := relaxngDatatype-1.0

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

JAVA_HOME            := /usr/lib/kaffe
ANT_HOME             := /usr/share/ant
DEB_JARS	     := $(ANT_HOME)/lib/ant-launcher.jar
DEB_ANT_COMPILER     := jikes
DEB_ANT_BUILD_TARGET := jar


LIBRARY_PACKAGE := relaxngDatatype
API_VERSION     := 1.0

install/librelaxng-datatype-java::
	install -m 644 build-tree/$(DEB_TAR_SRCDIR)/$(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