Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[libcgroup] added new port #39647

Merged
merged 13 commits into from
Jul 5, 2024
Prev Previous commit
Next Next commit
[libcgroup] formatted portfile, removed static check
  • Loading branch information
t43rr7 committed Jul 3, 2024
commit dce4a36ac87599693ee5cf022d8fee92639e91f5
38 changes: 18 additions & 20 deletions ports/libcgroup/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,30 +1,28 @@
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO libcgroup/libcgroup
SHA512 29fb7f5c795080cafc27ab99f2f3d7683933515840226564e047605e41a76f7ca31b48c8c9e8e1963eb808e3fc82206ea6ad550c80dcfb745b5cb7425e2875a9
REF "v${VERSION}"
HEAD_REF master
OUT_SOURCE_PATH SOURCE_PATH
REPO libcgroup/libcgroup
SHA512 29fb7f5c795080cafc27ab99f2f3d7683933515840226564e047605e41a76f7ca31b48c8c9e8e1963eb808e3fc82206ea6ad550c80dcfb745b5cb7425e2875a9
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"
"\t- <autoconf>\n"
"\t- <automake>\n"
"\t- <libtool>\n\n"
"It can be installed with your package manager"
)

vcpkg_configure_make(
SOURCE_PATH "${SOURCE_PATH}"
AUTOCONFIG
OPTIONS
--enable-tools=no
--enable-python=no
--enable-tests=no
--enable-samples=no
--enable-systemd=no
--enable-pam=no
SOURCE_PATH "${SOURCE_PATH}"
AUTOCONFIG
OPTIONS
--enable-tools=no
--enable-python=no
--enable-tests=no
--enable-samples=no
--enable-systemd=no
--enable-pam=no
)

vcpkg_install_make()
Expand Down