[metrics] 01/01: Package modules that don't require any new dependencies
Tim Potter
tpot-guest at moszumanska.debian.org
Fri Nov 7 04:34:00 UTC 2014
This is an automated email from the git hooks/post-receive script.
tpot-guest pushed a commit to branch master
in repository metrics.
commit facbd36f2938cab553ec03197439ea7267515948
Author: Tim Potter <tpot at hp.com>
Date: Fri Nov 7 15:31:29 2014 +1100
Package modules that don't require any new dependencies
---
debian/control | 2 +-
debian/rules | 10 +++++++---
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/debian/control b/debian/control
index a7a46af..df3c4fd 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: metrics
Section: unknown
Priority: optional
Maintainer: Tim Potter <tpot at hp.com>
-Build-Depends: debhelper (>= 9), default-jdk, javahelper, libslf4j-java
+Build-Depends: debhelper (>= 9), default-jdk, javahelper, libslf4j-java, libjackson2-databind-java, liblog4j1.2-java, liblogback-java, libehcache-java, libgmetric4j-java, libservlet3.1-java
Standards-Version: 3.9.6
Homepage: https://dropwizard.github.io/metrics/3.1.0/
Vcs-Git: git://anonscm.debian.org/collab-maint/metrics.git
diff --git a/debian/rules b/debian/rules
index 2073a86..1c169d2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,16 +3,20 @@
JH_BUILD_OPTS=--javacopts="-source 1.7 -target 1.7" -N
export JAVA_HOME=/usr/lib/jvm/default-java
export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8
-export CLASSPATH=/usr/share/java/slf4j-api.jar
+export CLASSPATH=/usr/share/java/slf4j-api.jar:/usr/share/java/jackson-core.jar:/usr/share/java/jackson-databind.jar:metrics-core.jar:metrics-jvm.jar:metrics-healthchecks.jar:/usr/share/java/log4j-1.2.jar:/usr/share/java/logback-core.jar:/usr/share/java/logback-classic.jar:/usr/share/java/ehcache.jar:/usr/share/java/gmetric4j.jar:/usr/share/java/servlet-api-3.1.jar
+
+MODULES = core jvm annotation healthchecks json log4j logback ehcache ganglia graphite servlet
%:
dh $@ --with javahelper
override_jh_build:
- jh_build $(JH_BUILD_OPTS) metrics-core.jar metrics-core/src/main
+ for module in $(MODULES); do \
+ jh_build $(JH_BUILD_OPTS) metrics-$$module.jar metrics-$$module/src/main; \
+ done
override_jh_installlibs:
- jh_installlibs metrics-core.jar
+ jh_installlibs metrics-*.jar
override_jh_clean:
jh_clean
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/metrics.git
More information about the pkg-java-commits
mailing list