[flann] 27/54: Add a repack script + fix the debian/watch file
Leopold Palomo-Avellaneda
leo at alaxarxa.net
Fri Jul 15 10:42:42 UTC 2016
This is an automated email from the git hooks/post-receive script.
lepalom-guest pushed a commit to branch master
in repository flann.
commit f45c64cd5daef8578a20792d007799b9d3e051fb
Author: Sylvestre Ledru <sylvestre at debian.org>
Date: Tue Aug 23 15:01:05 2011 +0000
Add a repack script + fix the debian/watch file
---
debian/changelog | 2 +-
debian/control | 2 +-
debian/orig-tar.sh | 17 +++++++++++++++++
debian/watch | 4 ++--
4 files changed, 21 insertions(+), 4 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 06d5d91..ff4c9f6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,4 +2,4 @@ flann (1.6.11-1) unstable; urgency=low
* Initial release (Closes: #581903)
- -- Mathieu Malaterre <mathieu.malaterre at gmail.com> Wed, 27 Apr 2011 10:41:23 +0200
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com> Tue, 23 Aug 2011 16:55:38 +0200
diff --git a/debian/control b/debian/control
index b412ad1..b1095cb 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Debian Science Team <debian-science-maintainers at lists.alioth.debian.
DM-Upload-Allowed: yes
Uploaders: Mathieu Malaterre <mathieu.malaterre at gmail.com>,
Michael Kleiber <mike at kleibi.de>
-Build-Depends: debhelper (>= 7.0.50~), cmake, quilt (>= 0.46-7~),
+Build-Depends: debhelper (>= 7.0.50~), cmake,
libgtest-dev, python, python-numpy, texlive-binaries, libboost1.46-dev,
texlive-latex-base, latex2html, mpi-default-dev, libhdf5-mpi-dev [!hurd-i386]
Standards-Version: 3.9.2
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
new file mode 100755
index 0000000..d9a2caf
--- /dev/null
+++ b/debian/orig-tar.sh
@@ -0,0 +1,17 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+TAR=../flann_$2.orig.tar.gz
+DIR=flann-$2-src
+
+# clean up the upstream tarball
+unzip $3
+tar -czf $TAR $DIR
+rm -rf $DIR $3
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+ . .svn/deb-layout
+ mv $TAR $origDir
+ echo "moved $TAR to $origDir"
+fi
diff --git a/debian/watch b/debian/watch
index 21b20c6..f24bd75 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,3 @@
-#http://people.cs.ubc.ca/~mariusm/uploads/FLANN/flann-(.*)-src.zip
version=3
-http://www.cs.ubc.ca/~mariusm/index.php/FLANN/FLANN flann-(.*)-src.zip
+http://www.cs.ubc.ca/~mariusm/index.php/FLANN/FLANN .*flann-(.*)-src.zip \
+debian debian/orig-tar.sh
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/flann.git
More information about the debian-science-commits
mailing list