[Pkg-cli-libs-commits] [gnome-keyring-sharp] 04/09: debian/rules: Add get-orig-source rules as RAOF request

Jo Shields directhex at moszumanska.debian.org
Mon Nov 16 08:48:18 UTC 2015


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

directhex pushed a commit to annotated tag debian/1.0.0%7Esvn.r87622-1
in repository gnome-keyring-sharp.

commit 2312786476465d933bda463bdc7a83ef71686ae0
Author: Laurent Bigonville <bigon at bigon.be>
Date:   Thu Jan 10 17:35:21 2008 +0000

    debian/rules: Add get-orig-source rules as RAOF request
---
 debian/rules | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/debian/rules b/debian/rules
index ac8ec06..28a93b9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,3 +16,24 @@ binary-install/libgnome-keyring1.0-cil::
 	dh_makeclilibs -V
 	dh_installcligac
 	dh_clideps -d
+
+
+GKS_VER = $(shell ls gnome-keyring-sharp/gnome-keyring-sharp-*.tar.gz | egrep -o "([[:digit:]]+\.)+[[:digit:]]")
+
+gnome-keyring-sharp.tar.gz:
+	wget -O gnome-keyring-sharp.tar.gz http://anonsvn.mono-project.com/viewcvs/trunk/gnome-keyring-sharp.tar.gz?view=tar
+
+unpack-upstream-source: gnome-keyring-sharp.tar.gz
+	tar xzvf gnome-keyring-sharp.tar.gz
+	rm gnome-keyring-sharp.tar.gz
+
+gnome-keyring-sharp/configure: unpack-upstream-source
+	cd gnome-keyring-sharp && autoreconf -i -v
+
+build-tarball: gnome-keyring-sharp/configure
+	cd gnome-keyring-sharp && ./configure && make dist
+
+get-orig-source: build-tarball
+	mv gnome-keyring-sharp/gnome-keyring-sharp-$(GKS_VER).tar.gz \
+		gnome-keyring-sharp_$(GKS_VER)~svn$(shell date +%Y%m%d).orig.tar.gz
+	rm -rf gnome-keyring-sharp

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-cli-libs/packages/gnome-keyring-sharp.git



More information about the Pkg-cli-libs-commits mailing list