File: rules

package info (click to toggle)
osgi-core 8.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,480 kB
  • sloc: java: 8,034; xml: 45; makefile: 12
file content (18 lines) | stat: -rwxr-xr-x 614 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

export JAVA_HOME := /usr/lib/jvm/default-java
export CLASSPATH := /usr/share/java/osgi.annotation.jar

MAVEN_REPO := https://repo1.maven.org/maven2/org/osgi/osgi.core
VERSION := $(shell dpkg-parsechangelog | sed -n 's/^Version: //p' | sed -e 's/-[^-]*$$//')
JAR_NAME := osgi.core
PACKAGE := libosgi-core-java

%:
	dh $@ --with javahelper --with jh_maven_repo_helper

override_jh_build:
	jh_build --javacopts='-source 8 -target 8 -encoding UTF-8' --javadoc-opts='-source 8 -encoding UTF-8'

get-orig-pom:
	wget --user-agent="" -O debian/pom.xml $(MAVEN_REPO)/$(VERSION)/osgi.core-$(VERSION).pom