Skip to content
Snippets Groups Projects
Commit 3e5dce56 authored by Emmanuel Bourg's avatar Emmanuel Bourg
Browse files

Build with the DH sequencer instead of CDBS

parent f8bbb31d
No related branches found
No related tags found
No related merge requests found
libregexp-java (1.5-4) UNRELEASED; urgency=medium
* Team upload.
* Build with the DH sequencer instead of CDBS
* Moved the package to Git
* Standards-Version updated to 4.1.3
* Switch to debhelper level 10
......
......@@ -8,7 +8,6 @@ Uploaders:
Ludovic Claude <ludovic.claude@laposte.net>
Build-Depends:
ant,
cdbs,
debhelper (>= 10),
default-jdk,
maven-repo-helper
......
usr/share/java
debian/pom.xml --no-parent
debian/pom.xml --no-parent --has-package-version --java-lib --usj-name=regexp --artifact=build/jakarta-regexp-*.jar
#!/usr/bin/make -f
# debian/rules file for libregexp-java (uses cdbs)
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/ant.mk
%:
dh $@ --with maven-repo-helper
PACKAGE := $(DEB_SOURCE_PACKAGE)
VERSION := $(DEB_UPSTREAM_VERSION)
JAVA_HOME := /usr/lib/jvm/default-java
DEB_ANT_ARGS := -Dant.build.javac.source=1.4
DEB_JARS := $(ANT_HOME)/lib/ant-launcher.jar
DEB_ANT_BUILD_TARGET := jar javadocs
override_dh_auto_build:
dh_auto_build -- jar javadocs
clean::
-rm -Rf docs
-rm -rf debian/tmp
install/$(PACKAGE)::
mh_installpoms -p$(PACKAGE)
mh_installjar -p$(PACKAGE) -l --usj-name=regexp debian/pom.xml build/jakarta-regexp-$(VERSION).jar
get-orig-pom: MVN_VERSION=1.4
get-orig-pom:
wget -O debian/pom.xml http://repository.sonatype.org/service/local/repositories/central/content/jakarta-regexp/jakarta-regexp/$(MVN_VERSION)/jakarta-regexp-$(MVN_VERSION).pom
sed -i -e 's/<version>1.4/<version>$(VERSION)/' debian/pom.xml
wget -O debian/pom.xml http://repository.sonatype.org/service/local/repositories/central/content/jakarta-regexp/jakarta-regexp/1.4/jakarta-regexp-1.4.pom
sed -i -e 's/<version>1.4/<version>1.5/' debian/pom.xml
get-orig-source:
-uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
-uscan --download-current-version --force-download --rename
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment