[med-svn] [libseqlib] 02/02: Create dynamic library

Andreas Tille tille at debian.org
Fri Feb 3 15:39:18 UTC 2017


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

tille pushed a commit to branch master
in repository libseqlib.

commit abd9654acf6641028cb302c349dbce1768fd9af0
Author: Andreas Tille <tille at debian.org>
Date:   Fri Feb 3 16:39:01 2017 +0100

    Create dynamic library
---
 debian/patches/dynamic_lib.patch | 37 +++++++++++++++++++++++++++++++++++++
 debian/patches/series            |  1 +
 2 files changed, 38 insertions(+)

diff --git a/debian/patches/dynamic_lib.patch b/debian/patches/dynamic_lib.patch
new file mode 100644
index 0000000..cf9538e
--- /dev/null
+++ b/debian/patches/dynamic_lib.patch
@@ -0,0 +1,37 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Fri, 27 Jan 2017 13:18:48 +0100
+Description: Create dynamic library
+
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -1,7 +1,8 @@
+-noinst_LIBRARIES = libseqlib.a
++lib_LTLIBRARIES  = libseqlib.la
+ 
+-libseqlib_a_CPPFLAGS = -I../ -I../htslib -I/usr/include/fml -Wno-sign-compare
++libseqlib_la_CPPFLAGS = -I../ -I../htslib -I/usr/include/fml -Wno-sign-compare
+ 
+-libseqlib_a_SOURCES =   FastqReader.cpp BFC.cpp ReadFilter.cpp SeqPlot.cpp jsoncpp.cpp ssw_cpp.cpp ssw.c \
++libseqlib_la_SOURCES =   FastqReader.cpp BFC.cpp ReadFilter.cpp SeqPlot.cpp jsoncpp.cpp ssw_cpp.cpp ssw.c \
+ 			GenomicRegion.cpp RefGenome.cpp BamWriter.cpp BamReader.cpp \
+ 			BWAWrapper.cpp BamRecord.cpp FermiAssembler.cpp BamHeader.cpp
++libseqlib_la_LDFLAGS = -version-info @LIB_VERSION@
+--- a/configure.ac
++++ b/configure.ac
+@@ -7,10 +7,16 @@ AC_CONFIG_HEADER([config.h])
+ AM_MAINTAINER_MODE([disable])
+ ##m4_include([m4/m4_ax_openmp.m4])
+ 
++LIB_VERSION=0:0
++
++AC_SUBST([VERSION])
++AC_SUBST([LIB_VERSION])
++
+ # Checks for programs.
+ AC_PROG_CXX ## test for cpp compiler
+ AC_PROG_CC ## test for C compiler
+ AC_PROG_RANLIB ## required if libraries are built in package
++AC_PROG_LIBTOOL
+ 
+ # Check for headers
+ AC_LANG([C++])
diff --git a/debian/patches/series b/debian/patches/series
index 5081794..607b83e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@ adapt_to_debian_fermi-lite.patch
 fix_fermi-lite_usage.patch
 fix_htslib_usage.patch
 fml_include_path.patch
+dynamic_lib.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/libseqlib.git



More information about the debian-med-commit mailing list