diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/audit/portfile.cmake | |
Diffstat (limited to 'vcpkg/ports/audit/portfile.cmake')
| -rw-r--r-- | vcpkg/ports/audit/portfile.cmake | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/vcpkg/ports/audit/portfile.cmake b/vcpkg/ports/audit/portfile.cmake new file mode 100644 index 0000000..cb48cbb --- /dev/null +++ b/vcpkg/ports/audit/portfile.cmake @@ -0,0 +1,35 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO linux-audit/audit-userspace + SHA512 14fa19922cf6436284e1448d5a0e069ce5066d2d49d28679fe3ad019be60c133aee6e345b36e0f482ea1fdeadad7d78676f931aab1c25b91a2d0b445dce3eedf + REF "v${VERSION}" + HEAD_REF master +) + +message(STATUS "${PORT} currently requires the following libraries from the system package manager:\n" + "\t- <autoconf>\n" + "\t- <automake>\n" + "\t- <libtool>\n\n" + "It can be installed with your package manager" +) + +file(TOUCH "${SOURCE_PATH}/README") + +vcpkg_configure_make( + SOURCE_PATH "${SOURCE_PATH}" + AUTOCONFIG + OPTIONS + --with-python3=no + --with-golang=no + --with-io_uring=no + --with-warn=no + --disable-zos-remote +) + +vcpkg_install_make() +vcpkg_fixup_pkgconfig() + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING") |