This is an automated email from the git hooks/post-receive script. tille pushed a commit to branch master in repository bamtools.
commit 353c26888c1645bd785a42ceed7529cb6925a540 Author: Andreas Tille <[email protected]> Date: Sun Mar 15 07:08:57 2015 +0100 Try to provide cmake input to help other programs using cmake find the needed files --- debian/changelog | 4 +++ debian/cmake/bamtools/bamtools-config.cmake | 40 +++++++++++++++++++++++++++++ debian/libbamtools-dev.install | 1 + 3 files changed, 45 insertions(+) diff --git a/debian/changelog b/debian/changelog index 6fd7ead..7005f2c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,12 @@ bamtools (2.3.0+dfsg-3) UNRELEASED; urgency=medium + [ Michael R. Crusoe ] * Make Doxygen documentation generation reproducible by eliminating timestamps. + [ Andreas Tille ] + * Install cmake file + -- Michael R. Crusoe <[email protected]> Wed, 18 Feb 2015 21:55:24 -0500 bamtools (2.3.0+dfsg-2) unstable; urgency=medium diff --git a/debian/cmake/bamtools/bamtools-config.cmake b/debian/cmake/bamtools/bamtools-config.cmake new file mode 100644 index 0000000..eb0173f --- /dev/null +++ b/debian/cmake/bamtools/bamtools-config.cmake @@ -0,0 +1,40 @@ +# - Config file for the BamTools package +################################################# +# Found at +# https://bitbucket.org/lunacab/ccdeep/raw/229ad7adb3700eec272a6cce36966b458bdaaa7a/bamtools-config.cmake +# Installed to /usr/share/cmake/bamtools +# according to the advise given in #761516 which links to the doc +# http://www.cmake.org/cmake/help/v2.8.12/cmake.html#command%3afind_package +# Andreas Tille <[email protected]> +################################################# +# It defines the following variables +# bamtools_FOUND - System has bamtols +# bamtools_INCLUDE_DIRS - include directories for BamTools +# bamtools_LIBRARIES - libraries to link against +# bamtools_EXECUTABLE - the bar executable + + +include(FindPackageHandleStandardArgs) +find_path(bamtools_INCLUDE_DIR api/BamReader.h + HINTS ENV BAMTOOLS_INC + PATH_SUFFIXES bamtools + ) + +find_library(bamtools_LIBRARY NAMES bamtools + HINTS ${CMAKE_SYSTEM_LIB_PATH} + PATH_SUFFIXES bamtools + ) + +get_filename_component(bamtools_LIB_DIR ${bamtools_LIBRARY} + PATH) + +set(bamtools_LIBRARIES ${bamtools_LIB_DIR}) +set(bamtools_INCLUDE_DIRS ${bamtools_INCLUDE_DIR}) +get_filename_component(bamtools_REAL_LIBRARY ${bamtools_LIBRARY} REALPATH) +get_filename_component(bamtools_LIB_FILE ${bamtools_REAL_LIBRARY} NAME) + +find_package_handle_standard_args(bamtools DEFAULT_MSG + bamtools_LIBRARY bamtools_INCLUDE_DIR) + +mark_as_advanced(bamtools_LIBRARY bamtools_INCLUDE_DIR ) + diff --git a/debian/libbamtools-dev.install b/debian/libbamtools-dev.install new file mode 100644 index 0000000..7687141 --- /dev/null +++ b/debian/libbamtools-dev.install @@ -0,0 +1 @@ +debian/cmake usr/share -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/bamtools.git _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
