[android-platform-tools-base] 02/30: d/rules: get-orig-source for generating upstream tarball
Kai-Chung Yan
seamlik-guest at moszumanska.debian.org
Fri Jul 22 10:33:39 UTC 2016
This is an automated email from the git hooks/post-receive script.
seamlik-guest pushed a commit to branch master
in repository android-platform-tools-base.
commit 5076dc49cdabb1fc20dab54be61cb889866ccd93
Author: Kai-Chung Yan <seamlikok at gmail.com>
Date: Tue Jul 19 20:02:08 2016 +0800
d/rules: get-orig-source for generating upstream tarball
---
debian/rules | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/debian/rules b/debian/rules
index fdc160b..6959f24 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,6 @@
#!/usr/bin/make -f
+include /usr/share/dpkg/pkg-info.mk
export JAVA_HOME=/usr/lib/jvm/default-java
%:
@@ -9,3 +10,9 @@ override_dh_auto_build:
dh_auto_build -- -x test assemble
mv out/build/base/common/build/libs/common-24.5.0.jar com.android.tools.common.jar
mv out/build/base/annotations/build/libs/annotations-24.5.0.jar com.android.tools.annotations.jar
+
+get-orig-source: gradle_$(DEB_VERSION_UPSTREAM).tar.gz
+ mk-origtargz --repack --compression xz $<
+
+gradle_$(DEB_VERSION_UPSTREAM).tar.gz:
+ wget https://android.googlesource.com/platform/tools/base/+archive/gradle_$(DEB_VERSION_UPSTREAM).tar.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/android-platform-tools-base.git
More information about the pkg-java-commits
mailing list