[med-svn] [htqc] 02/02: Add debian packaging
Andreas Tille
tille at debian.org
Mon Jun 22 12:47:10 UTC 2015
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository htqc.
commit 2ac79bd034c8676f528ffb15a8cd9049b2f06949
Author: Andreas Tille <tille at debian.org>
Date: Mon Jun 22 14:40:08 2015 +0200
Add debian packaging
---
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 19 +++++++++++++++++++
debian/copyright | 11 +++++++++++
debian/patches/no_c++11.patch | 11 +++++++++++
debian/patches/series | 1 +
debian/rules | 23 +++++++++++++++++++++++
debian/source/format | 1 +
debian/upstream/metadata | 11 +++++++++++
debian/watch | 3 +++
10 files changed, 86 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..42f4083
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+htqc (1.92.1-1) UNRELEASED; urgency=low
+
+ * Initial release (Closes: #<bug>)
+
+ -- DMPT <debian-med-packaging at lists.alioth.debian.org> Mon, 22 Jun 2015 13:56:05 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..eb566fc
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,19 @@
+Source: htqc
+Section: science
+Priority: optional
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Andreas Tille <tille at debian.org>
+Build-Depends: debhelper (>= 9),
+ cmake
+Standards-Version: 3.9.6
+Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/htqc/trunk/
+Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/htqc/trunk/
+Homepage: http://sourceforge.net/projects/htqc/
+
+Package: htqc
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Quality control and filtration for illumina sequencing data
+ HTQC is a toolkit including statistics tool for illumina high-throughput
+ sequencing data, and filtration tools for sequence quality, length, tail
+ quality, etc..
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..c76e73d
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,11 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: <pkg>
+Source: <path_to_download>
+
+Files: *
+Copyright: © 20xx-20yy <upstream>
+License: <license>
+
+Files: debian/*
+Copyright: © 2014 maintainername <maintainer at e.mail>
+License: <license>
diff --git a/debian/patches/no_c++11.patch b/debian/patches/no_c++11.patch
new file mode 100644
index 0000000..6195286
--- /dev/null
+++ b/debian/patches/no_c++11.patch
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -22,7 +22,7 @@ if (CMAKE_BUILD_TYPE STREQUAL "")
+ set(CMAKE_BUILD_TYPE "RelWithDebInfo" CACHE STRING "Choose the type of build, options are: None (CMAKE_CXX_FLAGS or CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel." FORCE)
+ endif ()
+
+-list(APPEND CMAKE_CXX_FLAGS "-std=c++11")
++#list(APPEND CMAKE_CXX_FLAGS "-std=c++11")
+ #set(CMAKE_EXE_LINKER_FLAGS_DEBUG ${CMAKE_EXE_LINKER_FLAGS_DEBUG} -fsanitize=address)
+
+ set(CPACK_PACKAGE_VERSION_MAJOR 1)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..8b96e28
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+# no_c++11.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..253d317
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,23 @@
+#!/usr/bin/make -f
+
+# DH_VERBOSE := 1
+
+# some helpful variables - uncomment them if needed
+# shamelessly stolen from http://jmtd.net/log/awk/
+#DEBVERS := $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$2}')
+#VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/^[0-9]*://' -e 's/-.*//')
+#DEBFLAVOR := $(shell dpkg-parsechangelog | awk '/^Distribution:/ {print $$2}')
+#DEBPKGNAME := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
+#DEBIAN_BRANCH := $(shell awk 'BEGIN{FS="[= ]+"} /debian-branch/ {print $$2}' debian/gbp.conf)
+#GIT_TAG := $(subst ~,_,$(VERSION))
+
+# alternatively to manually set those variables you can
+# include /usr/share/cdbs/1/rules/buildvars.mk
+# and use what is set there. Any hint whether dh might set variables in
+# a similar manner are welcome.
+
+%:
+ dh $@ --buildsystem=cmake
+
+#get-orig-source:
+# . debian/get-orig-source
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..35ec37f
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,11 @@
+Reference:
+ Author: Xi Yang and Di Liu and Fei Liu and Jun Wu and Jing Zou and Xue Xiao and Fangqing Zhao and Baoli Zhu
+ Title: "HTQC: a fast quality control toolkit for Illumina sequencing data"
+ Journal: BMC Bioinformatics
+ Year: 2013
+ Volume: 14
+ Pages: 33
+ DOI: 10.1186/1471-2105-14-33
+ PMID: 23363224
+ URL: http://www.biomedcentral.com/1471-2105/14/33
+ eprint: http://www.biomedcentral.com/content/pdf/1471-2105-14-33.pdf
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..d37b084
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+
+http://sf.net/htqc/htqc-(\d[\d\.]+)-Source\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/htqc.git
More information about the debian-med-commit
mailing list