[p4est] 01/01: provide get-orig-source target

Matthias Maier tamiko-guest at moszumanska.debian.org
Fri Jul 8 11:08:13 UTC 2016


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

tamiko-guest pushed a commit to branch master
in repository p4est.

commit f4e44a0502245720bc576e534ad9669e4fe13105
Author: Matthias Maier <tamiko+DEBIAN at kyomu.43-1.org>
Date:   Fri Jul 8 11:07:24 2016 +0000

    provide get-orig-source target
---
 debian/rules | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/debian/rules b/debian/rules
index 8f42ba0..5c0de0e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,3 +9,20 @@ override_dh_autoreconf:
 	echo $(DEB_VERSION_UPSTREAM) > .tarball-version
 	echo $(DEB_VERSION_UPSTREAM) > sc/.tarball-version
 	dh_autoreconf ./bootstrap
+
+VERSION := 1.1
+get-orig-source:
+	wget --no-clobber -O p4est-$(VERSION).tar.gz https://github.com/cburstedde/p4est/archive/v${VERSION}.tar.gz
+	wget --no-clobber -O libsc-$(VERSION).tar.gz https://github.com/cburstedde/libsc/archive/v${VERSION}.tar.gz
+	mkdir p4est-$(VERSION)
+	mkdir libsc-$(VERSION)
+	tar --strip-components=1 -C p4est-$(VERSION) -xzf p4est-$(VERSION).tar.gz
+	tar --strip-components=1 -C libsc-$(VERSION) -xzf libsc-$(VERSION).tar.gz
+	set -e; cd p4est-$(VERSION); \
+		rm -rf doc/*.pdf
+	set -e; cd libsc-$(VERSION); \
+		rm -rf doc/*.pdf
+	tar -cJf p4est_$(VERSION).orig.tar.xz p4est-$(VERSION)
+	tar -cJf p4est_$(VERSION).orig-sc.tar.xz libsc-$(VERSION)
+	rm -rf p4est-$(VERSION)
+	rm -rf libsc-$(VERSION)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/p4est.git



More information about the debian-science-commits mailing list