1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
#!/usr/bin/make -f
export JAVA_HOME=/usr/lib/jvm/default-java
export CLASSPATH=/usr/share/java/geronimo-osgi-locator.jar
%:
dh --with javahelper $@
override_jh_build:
jh_build geronimo-validation.jar src/main
override_dh_auto_install:
mh_installpom -plibgeronimo-validation-1.0-spec-java pom.xml --no-parent
mh_installjar -plibgeronimo-validation-1.0-spec-java pom.xml \
geronimo-validation.jar /usr/share/java/geronimo-validation.jar
get-orig-source:
cd $(dir $(firstword $(MAKEFILE_LIST)))../ && \
uscan \
--verbose \
--no-symlink \
--destdir $(CURDIR) \
--watchfile debian/watch \
--force-download
|