diff options
Diffstat (limited to 'vcpkg/ports/audit')
| -rw-r--r-- | vcpkg/ports/audit/portfile.cmake | 35 | ||||
| -rw-r--r-- | vcpkg/ports/audit/vcpkg.json | 8 |
2 files changed, 43 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") diff --git a/vcpkg/ports/audit/vcpkg.json b/vcpkg/ports/audit/vcpkg.json new file mode 100644 index 0000000..843c4bd --- /dev/null +++ b/vcpkg/ports/audit/vcpkg.json @@ -0,0 +1,8 @@ +{ + "name": "audit", + "version": "4.0.5", + "description": "Library for working with audit subsystem", + "homepage": "https://github.com/linux-audit/audit-userspace", + "license": "GPL-2.0-or-later OR LGPL-2.1-or-later", + "supports": "linux" +} |