[go: up one dir, main page]

File: rules

package info (click to toggle)
commons-pool 1.2-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 796 kB
  • ctags: 752
  • sloc: java: 4,371; xml: 990; makefile: 16
file content (32 lines) | stat: -rwxr-xr-x 1,015 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
24
25
26
27
28
29
30
31
32
#!/usr/bin/make -f
# debian/rules for libcommons-pool-java

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

# This is the debhelper compatibility version to use.
#export DH_COMPAT=4

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

#added for dpatch
include /usr/share/dpatch/dpatch.make

JAVA_HOME_DIRS       := /usr/lib/kaffe
#JAVACMD							 := /usr/bin/java-sablevm
ANT_HOME             := /usr/share/ant1.6
DEB_JARS             := commons-collections junit /usr/share/ant1.6/lib/ant-launcher.jar
DEB_ANT_COMPILER     := jikes
DEB_ANT_BUILD_TARGET := dist

LIBRARY=commons-pool
VERSION=1.2

install/lib${LIBRARY}-java::
	install -m 644 dist/${LIBRARY}.jar debian/lib${LIBRARY}-java/usr/share/java/${LIBRARY}-${VERSION}.jar
	echo "usr/share/java/${LIBRARY}-${VERSION}.jar usr/share/java/${LIBRARY}.jar" > debian/lib${LIBRARY}-java.links
	cp -a dist/docs/ debian/lib${LIBRARY}-java/usr/share/doc/lib${LIBRARY}-java/

clean::
	-rm debian/lib${LIBRARY}-java.links