[SCM] libmpc/master: Add get-orig-source target
sramacher at users.alioth.debian.org
sramacher at users.alioth.debian.org
Sun Sep 11 17:15:19 UTC 2016
The following commit has been merged in the master branch:
commit 25e6ef524f253d92ae5faf24e3333167102ca534
Author: Sebastian Ramacher <sramacher at debian.org>
Date: Sun Sep 11 18:53:05 2016 +0200
Add get-orig-source target
diff --git a/debian/rules b/debian/rules
index 6218452..b5e26cd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,3 +13,9 @@ DEB_DH_MAKESHLIBS_ARGS_libmpcdec6 := -V 'libmpcdec6 (>= 1:0.1~r435)'
DEB_CONFIGURE_EXTRA_FLAGS += --enable-mpcchap
DEB_CONFIGURE_EXTRA_FLAGS += --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
+REV = 495
+
+get-orig-source:
+ TMPDIR=$$(mktemp -d) && \
+ svn export http://svn.musepack.net/libmpc/trunk/ -r $(REV) $$TMPDIR/musepack_src_r$(REV) && \
+ tar czf musepack_src_0.1~r$(REV).tar.gz --owner 0 --group 0 -C $$TMPDIR musepack_src_r$(REV)
--
libmpc packaging
More information about the pkg-multimedia-commits
mailing list