mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-15 03:27:58 +08:00
[wavelib] Add new port (#11611)
* [wavelib] Add new port * [wavelib] Fix cmake config file name * [wavelib] Update patch file * [wavelib] Update to 2020-05-29 * [wavelib] Fix UWP build * [wavelib] Disable parallel configuration * [wavelib] Remove patch
This commit is contained in:
parent
6fb72ff00b
commit
4cc5ac58b3
4
ports/wavelib/CONTROL
Normal file
4
ports/wavelib/CONTROL
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
Source: wavelib
|
||||||
|
Version: 2020-05-29
|
||||||
|
Description: C implementation of wavelet transform (DWT,SWT and MODWT)
|
||||||
|
Homepage: https://github.com/rafat/wavelib
|
25
ports/wavelib/portfile.cmake
Normal file
25
ports/wavelib/portfile.cmake
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||||
|
|
||||||
|
vcpkg_from_github(
|
||||||
|
OUT_SOURCE_PATH SOURCE_PATH
|
||||||
|
REPO rafat/wavelib
|
||||||
|
REF c7c9ba8b1091610a678b2091ae4edba740fe83a7
|
||||||
|
SHA512 16f24288e410732cd7a2744e0039f93ddb435c6aaa59fde169f117e5536e5f452f0e78edc75ad725b18f9e16b34870c3a100c32c84399a004eb443ba0030f758
|
||||||
|
HEAD_REF master
|
||||||
|
)
|
||||||
|
|
||||||
|
vcpkg_configure_cmake(
|
||||||
|
SOURCE_PATH ${SOURCE_PATH}
|
||||||
|
DISABLE_PARALLEL_CONFIGURE
|
||||||
|
PREFER_NINJA
|
||||||
|
OPTIONS
|
||||||
|
-DBUILD_UT=OFF
|
||||||
|
)
|
||||||
|
|
||||||
|
vcpkg_install_cmake()
|
||||||
|
|
||||||
|
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/${PORT})
|
||||||
|
|
||||||
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||||
|
|
||||||
|
file(INSTALL ${SOURCE_PATH}/COPYRIGHT DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
Loading…
x
Reference in New Issue
Block a user