File: rules

package info (click to toggle)
jnr-ffi 2.1.7-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 2,304 kB
  • sloc: java: 23,671; ansic: 590; xml: 255; sh: 137; makefile: 12
file content (20 lines) | stat: -rwxr-xr-x 465 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

export JAVA_HOME=/usr/lib/jvm/default-java
export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8
export CCACHE_DIR=$(CURDIR)/ccache


%:
	dh $@ --buildsystem=maven --with javahelper

JAR=debian/libjnr-ffi-java/usr/share/java/jnr-ffi.jar
override_jh_manifest:
	jh_manifest

	# generate OSGi metadata
	bnd wrap --properties debian/jnr-ffi.bnd --output $(JAR).tmp $(JAR)
	mv $(JAR).tmp $(JAR)

get-orig-source:
	uscan --verbose --download-current-version