aboutsummaryrefslogtreecommitdiff
path: root/ports/libstemmer
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/libstemmer
parent1d4189d1dde0fa8bbcbc6237cc33b85bca0512e1 (diff)
parent2b049c47b5b2e003f8bcfe6707d4b0eaf8d1b569 (diff)
downloadvcpkg-17c9b6bac8270b9740e5d824c6ebfff6cc7d5ed1.tar.gz
vcpkg-17c9b6bac8270b9740e5d824c6ebfff6cc7d5ed1.zip
Merge from master
Diffstat (limited to 'ports/libstemmer')
-rw-r--r--ports/libstemmer/CONTROL2
-rw-r--r--ports/libstemmer/portfile.cmake7
2 files changed, 6 insertions, 3 deletions
diff --git a/ports/libstemmer/CONTROL b/ports/libstemmer/CONTROL
index a1949a2be..57d28d855 100644
--- a/ports/libstemmer/CONTROL
+++ b/ports/libstemmer/CONTROL
@@ -1,4 +1,4 @@
Source: libstemmer
-Version: 2017-9-4
+Version: 2017-9-5
Homepage: https://snowball.tartarus.org/
Description: Snowball is a small string processing language designed for creating stemming algorithms for use in Information Retrieval
diff --git a/ports/libstemmer/portfile.cmake b/ports/libstemmer/portfile.cmake
index ed4d86c4e..68580f440 100644
--- a/ports/libstemmer/portfile.cmake
+++ b/ports/libstemmer/portfile.cmake
@@ -2,13 +2,16 @@ include(vcpkg_common_functions)
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
-set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/libstemmer_c)
vcpkg_download_distfile(ARCHIVE
URLS "http://snowball.tartarus.org/dist/libstemmer_c.tgz"
FILENAME "libstemmer_c.tgz"
SHA512 9ab5b8bfd5b4071dbbd63d769e09fae3971b49ee441ad970aa95d90b3297f5ffc9deed1613d99974d1485bf3b69292663591957f52bbeddcadbf9d9a4af432f2
)
-vcpkg_extract_source_archive(${ARCHIVE})
+
+vcpkg_extract_source_archive_ex(
+ OUT_SOURCE_PATH SOURCE_PATH
+ ARCHIVE ${ARCHIVE}
+)
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})