| 1 |
Author: Andreas Tille <[email protected]> |
| 2 |
Last-Update: Fri, 27 Jan 2017 13:18:48 +0100 |
| 3 |
Description: Add pkg-config file |
| 4 |
|
| 5 |
--- /dev/null |
| 6 |
+++ libseqlib/libseqlib.pc.in |
| 7 |
@@ -0,0 +1,11 @@ |
| 8 |
+prefix=@prefix@ |
| 9 |
+exec_prefix=${prefix} |
| 10 |
+libdir=${exec_prefix}/lib |
| 11 |
+includedir=${prefix}/include/SeqLib |
| 12 |
+ |
| 13 |
+Name: libseqlib |
| 14 |
+Version: @VERSION@ |
| 15 |
+Requires: zlib |
| 16 |
+Description: C++ htslib/bwa-mem/fermi interface for interrogating sequence data |
| 17 |
+Libs: -L${libdir} -lseqlib -lbwa |
| 18 |
+Cflags: -I${includedir} -I/usr/include/jsoncpp |
| 19 |
--- libseqlib.orig/Makefile.am |
| 20 |
+++ libseqlib/Makefile.am |
| 21 |
@@ -6,3 +6,7 @@ |
| 22 |
|
| 23 |
seqtools: |
| 24 |
mkdir -p bin && cd src/seqtools && make && mv seqtools ../../bin |
| 25 |
+ |
| 26 |
+pkgconfigdir=$(libdir)/pkgconfig |
| 27 |
+pkgconfig_DATA = libseqlib.pc |
| 28 |
+ |
| 29 |
--- libseqlib.orig/configure.ac |
| 30 |
+++ libseqlib/configure.ac |
| 31 |
@@ -51,6 +51,8 @@ |
| 32 |
|
| 33 |
AC_CONFIG_FILES([Makefile |
| 34 |
src/Makefile |
| 35 |
|
| 36 |
+ src/seqtools/Makefile |
| 37 |
+ libseqlib.pc |
| 38 |
+ ]) |
| 39 |
|
| 40 |
AC_OUTPUT |