File: rules

package info (click to toggle)
osgi-annotation 8.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 136 kB
  • sloc: java: 219; xml: 36; makefile: 9
file content (14 lines) | stat: -rwxr-xr-x 459 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

export JAVA_HOME := /usr/lib/jvm/default-java

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

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

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