[eclipse] 01/02: Rules for write access

LUCA VERCELLI luca-vercelli-guest at moszumanska.debian.org
Fri Jul 15 15:25:50 UTC 2016


This is an automated email from the git hooks/post-receive script.

luca-vercelli-guest pushed a commit to branch experimental
in repository eclipse.

commit ac7935d9c558f7fbe8172dd6c11fb886b150cb51
Author: LLuca Vercelli <luca.vercelli.to at gmail.com>
Date:   Fri Jul 15 13:52:18 2016 +0200

    Rules for write access
---
 debian/rules | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/debian/rules b/debian/rules
index 63bc3e1..15b46d6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,10 +8,21 @@ DTYPE=
 AGGREGATOR_PATH=git://git.eclipse.org/gitroot/platform/eclipse.platform.releng.aggregator.git
 TAG=S4_6_0_M6
 
+TYCHO_VER=0.25.0
 
 %:
 	dh $@ --parallel --buildsystem=maven
 
+override_dh_auto_configure:
+	dh_auto_configure -O--buildsystem=maven
+	#Tycho requires write access here
+	rm -rf debian/maven-repo/org/eclipse/tycho/tycho-bundles-external/$(TYCHO_VER)
+	cp -r /usr/share/maven-repo/org/eclipse/tycho/tycho-bundles-external/$(TYCHO_VER) debian/maven-repo/org/eclipse/tycho/tycho-bundles-external
+
+override_dh_auto_install:
+	#OSGI wants write acces in user home
+	dh_auto_install -O--buildsystem=maven -- -Duser.home=/tmp
+
 get-orig-source:
 	$(if $(wildcard $(PKG)-$(VER)),$(error $(PKG)-$(VER) exist, aborting.))
 	mkdir $(PKG)-$(VER)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/eclipse.git



More information about the pkg-java-commits mailing list