Skip to content
Commits on Source (2)
......@@ -6,7 +6,12 @@ Uploaders: Cédric Lood <cedric.lood@kuleuven.be>,
Andreas Tille <tille@debian.org>
Build-Depends: debhelper (>= 11~),
cmake,
libgmock-dev
libgtest-dev,
libbioparser-dev,
libedlib-dev,
libspoa-dev,
libthread-pool-dev,
rampler
Standards-Version: 4.1.4
Vcs-Browser: https://salsa.debian.org/med-team/racon
Vcs-Git: https://salsa.debian.org/med-team/racon.git
......
use_debian_packaged_libs.patch
Author: Andreas Tille <tille@debian.org>
Last-Update: Fri, 08 Jun 2018 13:20:51 +0200
Description: Use Debian packaged libraries
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -19,20 +19,7 @@ add_executable(racon
src/sequence.cpp
src/window.cpp)
-if (NOT TARGET bioparser)
- add_subdirectory(vendor/bioparser EXCLUDE_FROM_ALL)
-endif()
-if (NOT TARGET spoa)
- add_subdirectory(vendor/spoa EXCLUDE_FROM_ALL)
-endif()
-if (NOT TARGET thread_pool)
- add_subdirectory(vendor/thread_pool EXCLUDE_FROM_ALL)
-endif()
-if (NOT TARGET edlib)
- add_subdirectory(vendor/edlib EXCLUDE_FROM_ALL)
-endif()
-
-target_link_libraries(racon bioparser spoa thread_pool pthread edlib_static)
+target_link_libraries(racon bioparser spoa thread_pool pthread edlib)
install(TARGETS racon DESTINATION bin)
@@ -50,10 +37,8 @@ if (racon_build_tests)
src/sequence.cpp
src/window.cpp)
- add_subdirectory(vendor/googletest/googletest EXCLUDE_FROM_ALL)
-
target_link_libraries(racon_test spoa thread_pool pthread
- edlib_static gtest_main)
+ edlib gtest_main gtest z)
endif(racon_build_tests)
if (racon_build_wrapper)
#!/usr/bin/make -f
# DH_VERBOSE := 1
export LC_ALL=C.UTF-8
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
include /usr/share/dpkg/default.mk
# this provides:
# DEB_SOURCE: the source package name
# DEB_VERSION: the full version of the package (epoch + upstream vers. + revision)
# DEB_VERSION_EPOCH_UPSTREAM: the package's version without the Debian revision
# DEB_VERSION_UPSTREAM_REVISION: the package's version without the Debian epoch
# DEB_VERSION_UPSTREAM: the package's upstream version
# DEB_DISTRIBUTION: the distribution(s) listed in the current entry of debian/changelog
# for hardening you might like to uncomment this:
# export DEB_BUILD_MAINT_OPTIONS=hardening=+all
DEB_CMAKE_EXTRA_FLAGS = -Dracon_build_tests=ON
%:
dh $@
#get-orig-source:
# . debian/get-orig-source
override_dh_auto_configure:
dh_auto_configure -- $(DEB_CMAKE_EXTRA_FLAGS)