aboutsummaryrefslogtreecommitdiff
path: root/ports/seqan
diff options
context:
space:
mode:
authorJohn Spaith <jspaith@windows.microsoft.com>2019-10-10 09:36:18 -0700
committerJohn Spaith <jspaith@windows.microsoft.com>2019-10-10 09:36:18 -0700
commit17c9b6bac8270b9740e5d824c6ebfff6cc7d5ed1 (patch)
tree7baa6f699aa57601dbba4ace876fad45958878fc /ports/seqan
parent1d4189d1dde0fa8bbcbc6237cc33b85bca0512e1 (diff)
parent2b049c47b5b2e003f8bcfe6707d4b0eaf8d1b569 (diff)
downloadvcpkg-17c9b6bac8270b9740e5d824c6ebfff6cc7d5ed1.tar.gz
vcpkg-17c9b6bac8270b9740e5d824c6ebfff6cc7d5ed1.zip
Merge from master
Diffstat (limited to 'ports/seqan')
-rw-r--r--ports/seqan/CONTROL2
-rw-r--r--ports/seqan/portfile.cmake12
2 files changed, 8 insertions, 6 deletions
diff --git a/ports/seqan/CONTROL b/ports/seqan/CONTROL
index 09185ccf4..82b7aae89 100644
--- a/ports/seqan/CONTROL
+++ b/ports/seqan/CONTROL
@@ -1,3 +1,3 @@
Source: seqan
-Version: 2.4.0
+Version: 2.4.0-1
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
index 8741a7090..1fef42f0a 100644
--- a/ports/seqan/portfile.cmake
+++ b/ports/seqan/portfile.cmake
@@ -1,14 +1,16 @@
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)
+vcpkg_extract_source_archive_ex(
+ OUT_SOURCE_PATH SOURCE_PATH
+ ARCHIVE ${ARCHIVE}
+)
-# Copy the seqan header files
file(INSTALL ${SOURCE_PATH}/include DESTINATION ${CURRENT_PACKAGES_DIR} FILES_MATCHING PATTERN "*.h")
+
+file(INSTALL ${SOURCE_PATH}/share/doc/seqan/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/seqan RENAME copyright)