aboutsummaryrefslogtreecommitdiff
path: root/ports/libaiff
diff options
context:
space:
mode:
authorJack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>2020-05-26 02:52:48 +0800
committerGitHub <noreply@github.com>2020-05-25 11:52:48 -0700
commitb271aeffa25c53f3750f58ad6209f3fa7c528716 (patch)
treee2d85c56570965e26803b629502e9bcb7efa648d /ports/libaiff
parent2ac2b5f3da6b46ff2ae900550bd7c44f39c57dcd (diff)
downloadvcpkg-b271aeffa25c53f3750f58ad6209f3fa7c528716.tar.gz
vcpkg-b271aeffa25c53f3750f58ad6209f3fa7c528716.zip
[VCPKG baseline] Fix many ports (#11559)
Diffstat (limited to 'ports/libaiff')
-rw-r--r--ports/libaiff/CONTROL2
-rw-r--r--ports/libaiff/portfile.cmake7
2 files changed, 4 insertions, 5 deletions
diff --git a/ports/libaiff/CONTROL b/ports/libaiff/CONTROL
index 490e53a7c..20113f1d3 100644
--- a/ports/libaiff/CONTROL
+++ b/ports/libaiff/CONTROL
@@ -1,4 +1,4 @@
Source: libaiff
-Version: 5.0-2
+Version: 5.0-3
Homepage: https://sourceforge.net/projects/aifftools
Description: LibAiff is an open-source library, providing C applications transparent read & write operations for Audio Interchange File Format (AIFF) files, with the goal of supporting all of its features
diff --git a/ports/libaiff/portfile.cmake b/ports/libaiff/portfile.cmake
index ad8e7b7db..034f05719 100644
--- a/ports/libaiff/portfile.cmake
+++ b/ports/libaiff/portfile.cmake
@@ -1,5 +1,3 @@
-include(vcpkg_common_functions)
-
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_download_distfile(ARCHIVE
@@ -22,7 +20,8 @@ file(COPY ${CMAKE_CURRENT_LIST_DIR}/config.h DESTINATION ${SOURCE_PATH}/libaiff)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
- OPTIONS_DEBUG -DDISABLE_INSTALL_HEADERS=ON
+ OPTIONS_DEBUG
+ -DDISABLE_INSTALL_HEADERS=ON
)
vcpkg_install_cmake()
@@ -38,4 +37,4 @@ foreach(HEADER ${HEADERS})
endforeach()
# Handle copyright
-file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/libaiff RENAME copyright)
+file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)