File tree Expand file tree Collapse file tree 4 files changed +63
-0
lines changed Expand file tree Collapse file tree 4 files changed +63
-0
lines changed Original file line number Diff line number Diff line change
1
+ vcpkg_download_distfile (PATCH_FIX_SYSTEMD_HEADER_INSTALLATION
2
+ URLS https://github.com/t43rr7/libcgroup/commit/592dcdcf243576bd2517d3da9bc18990de08e37e.patch?full_index=1
3
+ SHA512 0977e0b32119d1938ce2af6687ff31f6349aa6189307041d1249967e688ed9d84bc133ef270eb3d474a81644dd2152213c8605c6bd9a585c880fef0e026170fa
4
+ FILENAME 0000-fix-systemd-header-installation.patch
5
+ )
6
+
7
+ vcpkg_from_github (
8
+ OUT_SOURCE_PATH SOURCE_PATH
9
+ REPO libcgroup/libcgroup
10
+ SHA512 29fb7f5c795080cafc27ab99f2f3d7683933515840226564e047605e41a76f7ca31b48c8c9e8e1963eb808e3fc82206ea6ad550c80dcfb745b5cb7425e2875a9
11
+ REF "v${VERSION} "
12
+ HEAD_REF master
13
+ PATCHES
14
+ "${PATCH_FIX_SYSTEMD_HEADER_INSTALLATION} "
15
+ )
16
+
17
+ message (STATUS "${PORT} currently requires the following libraries from the system package manager:\n "
18
+ "\t - <autoconf>\n "
19
+ "\t - <automake>\n "
20
+ "\t - <libtool>\n\n "
21
+ "It can be installed with your package manager"
22
+ )
23
+
24
+ vcpkg_configure_make (
25
+ SOURCE_PATH "${SOURCE_PATH} "
26
+ AUTOCONFIG
27
+ OPTIONS
28
+ --enable-tools=no
29
+ --enable-python=no
30
+ --enable-tests=no
31
+ --enable-samples=no
32
+ --enable-systemd=no
33
+ --enable-pam=no
34
+ )
35
+
36
+ vcpkg_install_make ()
37
+ vcpkg_fixup_pkgconfig ()
38
+
39
+ file (REMOVE_RECURSE "${CURRENT_PACKAGES_DIR} /debug/include" )
40
+ file (REMOVE_RECURSE "${CURRENT_PACKAGES_DIR} /debug/share" )
41
+
42
+ vcpkg_install_copyright (FILE_LIST "${SOURCE_PATH} /COPYING" )
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " libcgroup" ,
3
+ "version" : " 3.1.0" ,
4
+ "description" : " Library for working with cgroup" ,
5
+ "homepage" : " https://github.com/libcgroup/libcgroup" ,
6
+ "license" : " LGPL-2.1-only" ,
7
+ "supports" : " linux"
8
+ }
Original file line number Diff line number Diff line change 4276
4276
"baseline" : " 1.13" ,
4277
4277
"port-version" : 4
4278
4278
},
4279
+ "libcgroup" : {
4280
+ "baseline" : " 3.1.0" ,
4281
+ "port-version" : 0
4282
+ },
4279
4283
"libconfig" : {
4280
4284
"baseline" : " 1.7.3" ,
4281
4285
"port-version" : 5
Original file line number Diff line number Diff line change
1
+ {
2
+ "versions" : [
3
+ {
4
+ "git-tree" : " c729cc038b705fdf523ff0ee17ae6d3cc9f08805" ,
5
+ "version" : " 3.1.0" ,
6
+ "port-version" : 0
7
+ }
8
+ ]
9
+ }
You can’t perform that action at this time.
0 commit comments