File: rules

package info (click to toggle)
cdi-api 1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 500 kB
  • sloc: java: 1,304; xml: 38; makefile: 10; sh: 7
file content (16 lines) | stat: -rwxr-xr-x 598 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

MAVEN_REPO		:= http://repo1.maven.org/maven2/javax/enterprise/cdi-api/
VERSION			:= $(shell dpkg-parsechangelog | sed -n 's/^Version: //p' | sed -e 's/-[^-]*$$//')

export JAVA_HOME=/usr/lib/jvm/default-java
export CLASSPATH=/usr/share/java/atinject-jsr330-api.jar:/usr/share/java/el-api-3.0.jar:/usr/share/java/geronimo-interceptor-3.0-spec.jar

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

get-orig-source:
	uscan --force-download --upstream-version $(VERSION)

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