[yui-compressor] 09/13: Build with the DH sequencer instead of CDBS
tony mancill
tmancill at debian.org
Sun Feb 11 04:56:10 UTC 2018
This is an automated email from the git hooks/post-receive script.
tmancill pushed a commit to branch master
in repository yui-compressor.
commit 7581a24b89a7c8f6f5a3622f9bcb97014127c955
Author: tony mancill <tmancill at debian.org>
Date: Sat Feb 10 19:59:13 2018 -0800
Build with the DH sequencer instead of CDBS
---
debian/control | 2 +-
debian/rules | 17 +++++++----------
2 files changed, 8 insertions(+), 11 deletions(-)
diff --git a/debian/control b/debian/control
index e3f1c0f..62384b8 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.or
Uploaders: Dominik Smatana <dominik.smatana at gmail.com>,
Michael Gilbert <michael.s.gilbert at gmail.com>,
tony mancill <tmancill at debian.org>
-Build-Depends: ant, cdbs, debhelper (>= 11), default-jdk
+Build-Depends: ant, debhelper (>= 11), default-jdk
Build-Depends-Indep: libjargs-java, librhino-java
Homepage: http://yuilibrary.com/projects/yuicompressor/
Vcs-Git: https://anonscm.debian.org/git/pkg-java/yui-compressor.git
diff --git a/debian/rules b/debian/rules
index 91a8496..59df671 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,23 +1,20 @@
#!/usr/bin/make -f
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/ant.mk
-
-JAVA_HOME := /usr/lib/jvm/default-java
-
-DEB_JARS := jargs
-DEB_ANT_BUILD_TARGET := build.jar
-DEB_CLEAN_BUILD_TARGET := clean
-
LIBRARY=yui-compressor
VERSION=2.4.8
RHINO_VERSION=1.7R2-4
-install/yui-compressor::
+%:
+ dh $@
+
+override_dh_auto_test:
# Launch tests
(cd tests; bash ./suite.sh)
+
+override_dh_auto_install:
# Rename JAR file
cp build/yuicompressor-${VERSION}.jar build/yui-compressor.jar
+ dh_auto_install
get-orig-source:
debian/fetch-upstream ${VERSION} ${DEB_UPSTREAM_VERSION} ${RHINO_VERSION}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/yui-compressor.git
More information about the pkg-java-commits
mailing list