vcpkg/ports/buck-yeh-bux/portfile.cmake
Buck Yeh adad924a91
[buck-yeh-bux] add port (#19670)
* [bux] Add new port

* Corrections according to Create Pull Request suggested questions

* SHA512

* Mark fails into .\scripts\ci.baseline.txt

* Mark fails into .\scripts\ci.baseline.txt

* No need of "port-version": 1 in vcpkg.json

* Update version database

* Update ports/bux/portfile.cmake

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* Update ports/bux/portfile.cmake

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* Update ports/bux/portfile.cmake

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* Update ports/bux/vcpkg.json

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* Update bux.json

* Update ports/bux/vcpkg.json

* update version

* Update scripts/ci.baseline.txt

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* update bux support

* update version

* update version

* Rename bux to buck-yeh-bux

* Update version database

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
Co-authored-by: Jonliu1993 <13720414433@163.com>
2021-09-07 14:13:35 -07:00

18 lines
644 B
CMake

vcpkg_fail_port_install(ON_ARCH "arm" "arm64")
vcpkg_fail_port_install(ON_TARGET "linux" "uwp" "osx")
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO buck-yeh/bux
REF 4636183159f74f350238e6ee59583b34f7e7aca9 # v1.4.1
SHA512 319cd15c73ca469849cbc364635d7147cfa3fed57d6043b0cb2b52d504a253645518ec6254ddba51fc8cc32cc89e345458530628b331629cabce5b64d8723a6a
HEAD_REF main
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_cmake_install()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)