[dropwizard] 03/05: Build dropwizard-jackson.jar
Tim Potter
tpot-guest at moszumanska.debian.org
Thu Nov 6 00:21:35 UTC 2014
This is an automated email from the git hooks/post-receive script.
tpot-guest pushed a commit to branch master
in repository dropwizard.
commit 7abd77c79bcb0519a3b3cd246a87d5946c4deb90
Author: Tim Potter <tpot at hp.com>
Date: Wed Nov 5 15:24:49 2014 +1100
Build dropwizard-jackson.jar
---
debian/control | 16 +++++++++++++---
debian/rules | 34 ++++++++--------------------------
2 files changed, 21 insertions(+), 29 deletions(-)
diff --git a/debian/control b/debian/control
index b130088..92f599a 100644
--- a/debian/control
+++ b/debian/control
@@ -2,11 +2,21 @@ Source: dropwizard
Section: java
Priority: optional
Maintainer: Tim Potter <tpot at hp.com>
-Build-Depends: debhelper (>= 9)
+Build-Depends: debhelper (>= 9),
+ default-jdk,
+ javahelper,
+ libjackson2-annotations-java,
+ libjackson2-core-java,
+ libjackson2-databind-java,
+ libjackson2-datatype-guava-java,
+ libjackson2-datatype-joda-java,
+ libjackson2-module-afterburner-java,
+ liblogback-java,
+ libslf4j-java
Standards-Version: 3.9.6
Homepage: https://github.com/dropwizard/dropwizard
-#Vcs-Git: git://anonscm.debian.org/collab-maint/dropwizard.git
-#Vcs-Browser: http://anonscm.debian.org/?p=collab-maint/dropwizard.git;a=summary
+Vcs-Git: git://anonscm.debian.org/users/tpot-guest/dropwizard.git
+Vcs-Browser: http://anonscm.debian.org/cgit/users/tpot-guest/dropwizard.git
Package: dropwizard
Architecture: all
diff --git a/debian/rules b/debian/rules
index ce15cce..a8e9dcf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,32 +1,14 @@
#!/usr/bin/make -f
-# See debhelper(7) (uncomment to enable)
-# output every command that modifies files on the build system.
-#DH_VERBOSE = 1
-# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
-DPKG_EXPORT_BUILDFLAGS = 1
-include /usr/share/dpkg/default.mk
+JH_BUILD_OPTS = --javacopts="-source 1.7 -target 1.7" -N
+export JAVA_HOME = /usr/lib/jvm/default-java
+export CLASSPATH = /usr/share/java/slf4j-api.jar:/usr/share/java/logback-classic.jar:/usr/share/java/guava.jar:/usr/share/java/jackson-core.jar:/usr/share/java/jackson-annotations.jar:/usr/share/java/jackson-databind.jar:/usr/share/java/jackson-datatype-guava.jar:/usr/share/java/jackson-datatype-joda.jar:/usr/share/java/jackson-module-afterburner.jar
-# see FEATURE AREAS in dpkg-buildflags(1)
-#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-
-# see ENVIRONMENT in dpkg-buildflags(1)
-# package maintainers to append CFLAGS
-#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
-# package maintainers to append LDFLAGS
-#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
-
-
-# main packaging script based on dh7 syntax
%:
- dh $@
-
-# debmake generated override targets
-# This is example for Cmake (See http://bugs.debian.org/641051 )
-#override_dh_auto_configure:
-# dh_auto_configure -- \
-# -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
-
-
+ dh $@ --with javahelper
+override_jh_build:
+ jh_build $(JH_BUILD_OPTS) dropwizard-jackson.jar dropwizard-jackson/src/main
+override_jh_installlibs:
+ jh_installlibs dropwizard-jackson.jar
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/dropwizard.git
More information about the pkg-java-commits
mailing list