no more renaming

control version number was wrong (thank you for spotting that)
This commit is contained in:
glachancecmaisonneuve 2017-08-22 23:15:19 -04:00
parent 0e9dcc518f
commit 3e6a19754b
2 changed files with 1 additions and 13 deletions

View File

@ -1,3 +1,3 @@
Source: unrar
Version: 5.5.6
Version: 5.5.8
Description: rarlab's unrar libary

View File

@ -32,19 +32,7 @@ file(INSTALL ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/unrar.dll DESTINAT
file(INSTALL ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/unrar.lib DESTINATION ${CURRENT_PACKAGES_DIR}/lib)
file(INSTALL ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/unrar.dll DESTINATION ${CURRENT_PACKAGES_DIR}/debug/bin)
file(INSTALL ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/unrar.lib DESTINATION ${CURRENT_PACKAGES_DIR}/debug/lib)
#copy pdbs now, while filenames still match
vcpkg_copy_pdbs()
#RarLabs has historically distributed it's x64 architecture unrar library as UnRAR64.dll
if (VCPKG_TARGET_ARCHITECTURE STREQUAL "x64")
file(RENAME ${CURRENT_PACKAGES_DIR}/bin/unrar.dll ${CURRENT_PACKAGES_DIR}/bin/UnRAR64.dll)
file(RENAME ${CURRENT_PACKAGES_DIR}/lib/unrar.lib ${CURRENT_PACKAGES_DIR}/lib/UnRAR64.lib)
file(RENAME ${CURRENT_PACKAGES_DIR}/debug/bin/unrar.dll ${CURRENT_PACKAGES_DIR}/debug/bin/UnRAR64.dll)
file(RENAME ${CURRENT_PACKAGES_DIR}/debug/lib/unrar.lib ${CURRENT_PACKAGES_DIR}/debug/lib/UnRAR64.lib)
file(RENAME ${CURRENT_PACKAGES_DIR}/bin/unrar.pdb ${CURRENT_PACKAGES_DIR}/bin/UnRAR64.pdb)
file(RENAME ${CURRENT_PACKAGES_DIR}/debug/bin/unrar.pdb ${CURRENT_PACKAGES_DIR}/debug/bin/UnRAR64.pdb)
endif()
#COPYRIGHT
file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/unrar RENAME copyright)