File: rules

package info (click to toggle)
osgi-compendium 6.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,800 kB
  • sloc: java: 9,567; xml: 34; makefile: 12
file content (19 lines) | stat: -rwxr-xr-x 717 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk

export JAVA_HOME	:= /usr/lib/jvm/default-java
export CLASSPATH	:= /usr/share/java/osgi.core.jar:/usr/share/java/servlet-api-3.1.jar:/usr/share/java/ee.foundation.jar:/usr/share/java/geronimo-jpa_2.0_spec.jar:/usr/share/java/osgi.annotation.jar

MAVEN_REPO		:= https://repo1.maven.org/maven2/org/osgi/osgi.cmpn
JAR_NAME		:= osgi.cmpn
PACKAGE			:= libosgi-compendium-java

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

get-orig-source:
	uscan --verbose --repack --compression xz --force-download --download-current-version

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