aboutsummaryrefslogtreecommitdiff
path: root/ports/seqan
diff options
context:
space:
mode:
authorPhil Christensen <philc@microsoft.com>2019-02-27 11:56:29 -0800
committerPhil Christensen <philc@microsoft.com>2019-02-27 11:56:29 -0800
commit2cc7fa27e57f1129d1f37ccb009563509ca25720 (patch)
tree3c75e423b71e54f6f65ec085c5d3d190d9d0d1a9 /ports/seqan
parent3830517ec7519b823f5d8c404710889c6bd00278 (diff)
parent2dfa568d186e4f0d199040929f9b3e44f27c8943 (diff)
downloadvcpkg-2cc7fa27e57f1129d1f37ccb009563509ca25720.tar.gz
vcpkg-2cc7fa27e57f1129d1f37ccb009563509ca25720.zip
Merge branch 'master' of https://github.com/microsoft/vcpkg into dev/philc/5254
Diffstat (limited to 'ports/seqan')
-rw-r--r--ports/seqan/CONTROL3
-rw-r--r--ports/seqan/portfile.cmake14
2 files changed, 17 insertions, 0 deletions
diff --git a/ports/seqan/CONTROL b/ports/seqan/CONTROL
new file mode 100644
index 000000000..09185ccf4
--- /dev/null
+++ b/ports/seqan/CONTROL
@@ -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.
diff --git a/ports/seqan/portfile.cmake b/ports/seqan/portfile.cmake
new file mode 100644
index 000000000..8741a7090
--- /dev/null
+++ b/ports/seqan/portfile.cmake
@@ -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")