[geographiclib] Improve description, remove cmake files until they can be properly merged between configs.

This commit is contained in:
Robert Schumacher 2017-04-07 16:10:46 -07:00
parent dae29cba40
commit 97c85bc512
2 changed files with 4 additions and 4 deletions

View File

@ -1,3 +1,3 @@
Source: geographiclib
Version: 1.47-patch1
Description: geographiclib
Version: 1.47-patch1-1
Description: a small set of C++ classes for performing conversions between geographic, UTM, UPS, MGRS, geocentric, and local cartesian coordinates, for gravity (e.g., EGM2008), geoid height, and geomagnetic field (e.g., WMM2010) calculations, and for solving geodesic problems.

View File

@ -14,7 +14,7 @@ include(vcpkg_common_functions)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/geographiclib-1.47)
vcpkg_download_distfile(ARCHIVE
URLS "https://jaist.dl.sourceforge.net/project/geographiclib/distrib/GeographicLib-1.47-patch1.zip"
FILENAME "geographiclib-1.47-latch1.zip"
FILENAME "geographiclib-1.47-patch1.zip"
SHA512 d8fdfd7ae093057ec1a4ab922457fe71a3fb9975df5b673c276d62a0e9c4f212dc63652830b9d89e3890bc96aafd335992943cf6a1bce8260acf932d1eb7abfd
)
vcpkg_extract_source_archive(${ARCHIVE})
@ -40,7 +40,7 @@ else()
endif()
vcpkg_install_cmake()
file(RENAME ${CURRENT_PACKAGES_DIR}/cmake ${CURRENT_PACKAGES_DIR}/share/geographiclib)
file(REMOVE ${CURRENT_PACKAGES_DIR}/cmake)
file(COPY ${CURRENT_BUILDTREES_DIR}/src/GeographicLib-1.47/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/geographiclib)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/geographiclib/LICENSE.txt ${CURRENT_PACKAGES_DIR}/share/geographiclib/copyright)