diff options
| author | Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> | 2020-06-27 06:06:30 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-26 15:06:30 -0700 |
| commit | a0e0c57f865937cdda81c21ad9327e606f7dc930 (patch) | |
| tree | 86b0d97dd67594d12f3283c1c46cc5e690c1a258 /ports/tinyxml | |
| parent | 81ae2ed94bf51fdd453b383135a809dea3d45cce (diff) | |
| download | vcpkg-a0e0c57f865937cdda81c21ad9327e606f7dc930.tar.gz vcpkg-a0e0c57f865937cdda81c21ad9327e606f7dc930.zip | |
[vcpkg] Add vcpkg_from_sourceforge (1/2) (#11899)
Diffstat (limited to 'ports/tinyxml')
| -rw-r--r-- | ports/tinyxml/CONTROL | 2 | ||||
| -rw-r--r-- | ports/tinyxml/portfile.cmake | 14 |
2 files changed, 5 insertions, 11 deletions
diff --git a/ports/tinyxml/CONTROL b/ports/tinyxml/CONTROL index 749dc2e7e..d6c4d6b24 100644 --- a/ports/tinyxml/CONTROL +++ b/ports/tinyxml/CONTROL @@ -1,4 +1,4 @@ Source: tinyxml
-Version: 2.6.2-4
+Version: 2.6.2-5
Homepage: https://sourceforge.net/projects/tinyxml
Description: A simple, small, minimal, C++ XML parser that can be easily integrating into other programs.
diff --git a/ports/tinyxml/portfile.cmake b/ports/tinyxml/portfile.cmake index 0ffc859aa..1f42e4d75 100644 --- a/ports/tinyxml/portfile.cmake +++ b/ports/tinyxml/portfile.cmake @@ -1,17 +1,11 @@ -include(vcpkg_common_functions) - vcpkg_check_linkage(ONLY_STATIC_LIBRARY) -vcpkg_download_distfile(ARCHIVE - URLS "https://sourceforge.net/projects/tinyxml/files/tinyxml/2.6.2/tinyxml_2_6_2.tar.gz" - FILENAME "tinyxml_2_6_2.tar.gz" - SHA512 133b5db06131a90ad0c2b39b0063f1c8e65e67288a7e5d67e1f7d9ba32af10dc5dfa0462f9723985ee27debe8f09a10a25d4b5a5aaff2ede979b1cebe8e59d56 -) - -vcpkg_extract_source_archive_ex( +vcpkg_from_sourceforge( OUT_SOURCE_PATH SOURCE_PATH - ARCHIVE ${ARCHIVE} + REPO tinyxml/tinyxml REF 2.6.2 + FILENAME "tinyxml_2_6_2.tar.gz" + SHA512 133b5db06131a90ad0c2b39b0063f1c8e65e67288a7e5d67e1f7d9ba32af10dc5dfa0462f9723985ee27debe8f09a10a25d4b5a5aaff2ede979b1cebe8e59d56 PATCHES 0001_use_stl.patch 0002_export_tinyxml.patch |
