[SCM] liblo packaging branch, master, updated. debian/0.26-1-10-g13baaba
fsateler-guest at users.alioth.debian.org
fsateler-guest at users.alioth.debian.org
Tue Aug 11 03:33:50 UTC 2009
The following commit has been merged in the master branch:
commit 3aeb3819223330a46d9d60e4207e9fc822245f34
Author: Felipe Sateler <fsateler at gmail.com>
Date: Mon Aug 10 00:33:54 2009 -0400
Implement get-orig-source rule
Remove sourceless premake4 binary.
diff --git a/debian/rules b/debian/rules
index 3ac4700..c83f807 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,3 +19,15 @@ DEB_CONFIGURE_USER_FLAGS := --enable-static
common-binary-post-install-arch::
dh_buildinfo
+# Allow overriding in the command line.
+UPSTREAM_VERSION ?= 0.26
+ORIG_TARBALL = liblo_$(UPSTREAM_VERSION)~repack.orig.tar.gz
+# Drop sourceless binary useful only for windows builds
+get-orig-source:
+ mkdir -p temp-pack
+ uscan --force-download --destdir temp-pack --no-symlink
+ cd temp-pack && tar -xzf liblo-$(UPSTREAM_VERSION).tar.gz
+ rm temp-pack/liblo-$(UPSTREAM_VERSION)/build/premake4.exe
+ cd temp-pack && tar -czf $(ORIG_TARBALL) liblo-$(DEB_UPSTREAM_VERSION)
+ mv temp-pack/$(ORIG_TARBALL) .
+ rm -r temp-pack
--
liblo packaging
More information about the pkg-multimedia-commits
mailing list