add seqan library for vcpkg (#5238)

This commit is contained in:
newbie 2019-01-29 09:59:29 +08:00 committed by Codiferous
parent 2c4d4f2a47
commit d48cf920a4
2 changed files with 17 additions and 0 deletions

3
ports/seqan/CONTROL Normal file
View File

@ -0,0 +1,3 @@
Source: seqan
Version: 2.4.0
Description: SeqAn is an open source C++ library of efficient algorithms and data structures for the analysis of sequences with the focus on biological data.

View File

@ -0,0 +1,14 @@
include(vcpkg_common_functions)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/seqan-library-2.4.0)
vcpkg_download_distfile(ARCHIVE
URLS "http://packages.seqan.de/seqan-library/seqan-library-2.4.0.zip"
FILENAME "seqan-library-2.4.0.zip"
SHA512 9a1b4fe9dff9ad49a8761798a6a6eaeebce683ccb5e2dd78ea4b8829093918606830a16ea458d67bf3f652531ddc55b550c12cb257be913bb187c8940d96a575
)
vcpkg_extract_source_archive(${ARCHIVE})
# Handle copyright
file(INSTALL ${SOURCE_PATH}/share/doc/seqan/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/seqan RENAME copyright)
# Copy the seqan header files
file(INSTALL ${SOURCE_PATH}/include DESTINATION ${CURRENT_PACKAGES_DIR} FILES_MATCHING PATTERN "*.h")