[libsystemd] add new port (#31150)
* add libsystemd, libcap, libxcrypt
* baseline libsystemd, libcap, libxcrypt
* versions tree libsystemd, libcap, libxcrypt
* licenses for libsystemd, libcap, libxcrypt in vcpkg.json
* update tree for libsystemd, libcap, libxcrypt
* allow restricted header libxcrypt
* tree allow restricted header libxcrypt
* remove message Warning
* use targets exist during configure, instead of configure_file variable to search for zstd
* update git-tree
* add quotes to full paths and remove messages in portfiles
* update git-tree
* remove extra spaces
* update git-tree
* remove extra line
* update git tree
* do configure hack differently and remove cross compile patch and override compiler during build_make
* update git tree
* try either gcc or clang for libcap and specify log file root for each build command
* update git-tree
* libcap use host dependency of self
* libcap update git tree
* libsystemd is LGPL2.1
* update libsystemd git-tree
* change from find_package to find_dependency in unofficial cmake export
of libsystemd
* update libsystemd git-tree
* update libxcrypt
* update git tree libxcrypt
* patch pkgconfig file of libsystemd
* update libsystemd git-tree
* update libsystemd to 254
* update git-tree libsystemd
* * Copy of cap_names.h checked in for cross compilation
* Decouple cap_names.h from libcap.* make targets
* Use vcpkg_cmake_get_vars instead of ENV{CC} etc.
* Remove unnecessary self dependency of libcap
* Update libcap to 1.2.69
* Update git-tree
* cleanup old versions from version jsons
2023-09-20 16:56:16 +00:00
|
|
|
vcpkg_from_git(
|
2023-09-24 07:06:01 +02:00
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
URL git://git.kernel.org/pub/scm/libs/libcap/libcap.git
|
|
|
|
FETCH_REF "libcap-${VERSION}"
|
|
|
|
REF 3c7dda330bd9a154bb5b878d31fd591e4951fe17
|
[libsystemd] add new port (#31150)
* add libsystemd, libcap, libxcrypt
* baseline libsystemd, libcap, libxcrypt
* versions tree libsystemd, libcap, libxcrypt
* licenses for libsystemd, libcap, libxcrypt in vcpkg.json
* update tree for libsystemd, libcap, libxcrypt
* allow restricted header libxcrypt
* tree allow restricted header libxcrypt
* remove message Warning
* use targets exist during configure, instead of configure_file variable to search for zstd
* update git-tree
* add quotes to full paths and remove messages in portfiles
* update git-tree
* remove extra spaces
* update git-tree
* remove extra line
* update git tree
* do configure hack differently and remove cross compile patch and override compiler during build_make
* update git tree
* try either gcc or clang for libcap and specify log file root for each build command
* update git-tree
* libcap use host dependency of self
* libcap update git tree
* libsystemd is LGPL2.1
* update libsystemd git-tree
* change from find_package to find_dependency in unofficial cmake export
of libsystemd
* update libsystemd git-tree
* update libxcrypt
* update git tree libxcrypt
* patch pkgconfig file of libsystemd
* update libsystemd git-tree
* update libsystemd to 254
* update git-tree libsystemd
* * Copy of cap_names.h checked in for cross compilation
* Decouple cap_names.h from libcap.* make targets
* Use vcpkg_cmake_get_vars instead of ENV{CC} etc.
* Remove unnecessary self dependency of libcap
* Update libcap to 1.2.69
* Update git-tree
* cleanup old versions from version jsons
2023-09-20 16:56:16 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
file(COPY "${CMAKE_CURRENT_LIST_DIR}/configure" DESTINATION "${SOURCE_PATH}")
|
|
|
|
|
|
|
|
if(VCPKG_CROSSCOMPILING)
|
2023-09-24 07:06:01 +02:00
|
|
|
file(TOUCH "${SOURCE_PATH}/libcap/_makenames")
|
|
|
|
file(COPY "${CURRENT_HOST_INSTALLED_DIR}/include/sys/libcap-private/cap_names.list.h" DESTINATION "${SOURCE_PATH}/libcap/")
|
|
|
|
file(COPY "${CURRENT_HOST_INSTALLED_DIR}/include/sys/libcap-private/cap_names.h" DESTINATION "${SOURCE_PATH}/libcap/")
|
|
|
|
file(TOUCH "${SOURCE_PATH}/libcap/cap_names.h")
|
|
|
|
endif()
|
[libsystemd] add new port (#31150)
* add libsystemd, libcap, libxcrypt
* baseline libsystemd, libcap, libxcrypt
* versions tree libsystemd, libcap, libxcrypt
* licenses for libsystemd, libcap, libxcrypt in vcpkg.json
* update tree for libsystemd, libcap, libxcrypt
* allow restricted header libxcrypt
* tree allow restricted header libxcrypt
* remove message Warning
* use targets exist during configure, instead of configure_file variable to search for zstd
* update git-tree
* add quotes to full paths and remove messages in portfiles
* update git-tree
* remove extra spaces
* update git-tree
* remove extra line
* update git tree
* do configure hack differently and remove cross compile patch and override compiler during build_make
* update git tree
* try either gcc or clang for libcap and specify log file root for each build command
* update git-tree
* libcap use host dependency of self
* libcap update git tree
* libsystemd is LGPL2.1
* update libsystemd git-tree
* change from find_package to find_dependency in unofficial cmake export
of libsystemd
* update libsystemd git-tree
* update libxcrypt
* update git tree libxcrypt
* patch pkgconfig file of libsystemd
* update libsystemd git-tree
* update libsystemd to 254
* update git-tree libsystemd
* * Copy of cap_names.h checked in for cross compilation
* Decouple cap_names.h from libcap.* make targets
* Use vcpkg_cmake_get_vars instead of ENV{CC} etc.
* Remove unnecessary self dependency of libcap
* Update libcap to 1.2.69
* Update git-tree
* cleanup old versions from version jsons
2023-09-20 16:56:16 +00:00
|
|
|
|
|
|
|
vcpkg_configure_make(
|
2023-09-24 07:06:01 +02:00
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
|
|
COPY_SOURCE
|
|
|
|
DETERMINE_BUILD_TRIPLET
|
[libsystemd] add new port (#31150)
* add libsystemd, libcap, libxcrypt
* baseline libsystemd, libcap, libxcrypt
* versions tree libsystemd, libcap, libxcrypt
* licenses for libsystemd, libcap, libxcrypt in vcpkg.json
* update tree for libsystemd, libcap, libxcrypt
* allow restricted header libxcrypt
* tree allow restricted header libxcrypt
* remove message Warning
* use targets exist during configure, instead of configure_file variable to search for zstd
* update git-tree
* add quotes to full paths and remove messages in portfiles
* update git-tree
* remove extra spaces
* update git-tree
* remove extra line
* update git tree
* do configure hack differently and remove cross compile patch and override compiler during build_make
* update git tree
* try either gcc or clang for libcap and specify log file root for each build command
* update git-tree
* libcap use host dependency of self
* libcap update git tree
* libsystemd is LGPL2.1
* update libsystemd git-tree
* change from find_package to find_dependency in unofficial cmake export
of libsystemd
* update libsystemd git-tree
* update libxcrypt
* update git tree libxcrypt
* patch pkgconfig file of libsystemd
* update libsystemd git-tree
* update libsystemd to 254
* update git-tree libsystemd
* * Copy of cap_names.h checked in for cross compilation
* Decouple cap_names.h from libcap.* make targets
* Use vcpkg_cmake_get_vars instead of ENV{CC} etc.
* Remove unnecessary self dependency of libcap
* Update libcap to 1.2.69
* Update git-tree
* cleanup old versions from version jsons
2023-09-20 16:56:16 +00:00
|
|
|
)
|
2023-09-24 07:06:01 +02:00
|
|
|
vcpkg_install_make(
|
|
|
|
MAKEFILE "Makefile.vcpkg"
|
[libsystemd] add new port (#31150)
* add libsystemd, libcap, libxcrypt
* baseline libsystemd, libcap, libxcrypt
* versions tree libsystemd, libcap, libxcrypt
* licenses for libsystemd, libcap, libxcrypt in vcpkg.json
* update tree for libsystemd, libcap, libxcrypt
* allow restricted header libxcrypt
* tree allow restricted header libxcrypt
* remove message Warning
* use targets exist during configure, instead of configure_file variable to search for zstd
* update git-tree
* add quotes to full paths and remove messages in portfiles
* update git-tree
* remove extra spaces
* update git-tree
* remove extra line
* update git tree
* do configure hack differently and remove cross compile patch and override compiler during build_make
* update git tree
* try either gcc or clang for libcap and specify log file root for each build command
* update git-tree
* libcap use host dependency of self
* libcap update git tree
* libsystemd is LGPL2.1
* update libsystemd git-tree
* change from find_package to find_dependency in unofficial cmake export
of libsystemd
* update libsystemd git-tree
* update libxcrypt
* update git tree libxcrypt
* patch pkgconfig file of libsystemd
* update libsystemd git-tree
* update libsystemd to 254
* update git-tree libsystemd
* * Copy of cap_names.h checked in for cross compilation
* Decouple cap_names.h from libcap.* make targets
* Use vcpkg_cmake_get_vars instead of ENV{CC} etc.
* Remove unnecessary self dependency of libcap
* Update libcap to 1.2.69
* Update git-tree
* cleanup old versions from version jsons
2023-09-20 16:56:16 +00:00
|
|
|
)
|
2023-09-24 07:06:01 +02:00
|
|
|
vcpkg_fixup_pkgconfig()
|
[libsystemd] add new port (#31150)
* add libsystemd, libcap, libxcrypt
* baseline libsystemd, libcap, libxcrypt
* versions tree libsystemd, libcap, libxcrypt
* licenses for libsystemd, libcap, libxcrypt in vcpkg.json
* update tree for libsystemd, libcap, libxcrypt
* allow restricted header libxcrypt
* tree allow restricted header libxcrypt
* remove message Warning
* use targets exist during configure, instead of configure_file variable to search for zstd
* update git-tree
* add quotes to full paths and remove messages in portfiles
* update git-tree
* remove extra spaces
* update git-tree
* remove extra line
* update git tree
* do configure hack differently and remove cross compile patch and override compiler during build_make
* update git tree
* try either gcc or clang for libcap and specify log file root for each build command
* update git-tree
* libcap use host dependency of self
* libcap update git tree
* libsystemd is LGPL2.1
* update libsystemd git-tree
* change from find_package to find_dependency in unofficial cmake export
of libsystemd
* update libsystemd git-tree
* update libxcrypt
* update git tree libxcrypt
* patch pkgconfig file of libsystemd
* update libsystemd git-tree
* update libsystemd to 254
* update git-tree libsystemd
* * Copy of cap_names.h checked in for cross compilation
* Decouple cap_names.h from libcap.* make targets
* Use vcpkg_cmake_get_vars instead of ENV{CC} etc.
* Remove unnecessary self dependency of libcap
* Update libcap to 1.2.69
* Update git-tree
* cleanup old versions from version jsons
2023-09-20 16:56:16 +00:00
|
|
|
|
2023-09-24 07:06:01 +02:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
[libsystemd] add new port (#31150)
* add libsystemd, libcap, libxcrypt
* baseline libsystemd, libcap, libxcrypt
* versions tree libsystemd, libcap, libxcrypt
* licenses for libsystemd, libcap, libxcrypt in vcpkg.json
* update tree for libsystemd, libcap, libxcrypt
* allow restricted header libxcrypt
* tree allow restricted header libxcrypt
* remove message Warning
* use targets exist during configure, instead of configure_file variable to search for zstd
* update git-tree
* add quotes to full paths and remove messages in portfiles
* update git-tree
* remove extra spaces
* update git-tree
* remove extra line
* update git tree
* do configure hack differently and remove cross compile patch and override compiler during build_make
* update git tree
* try either gcc or clang for libcap and specify log file root for each build command
* update git-tree
* libcap use host dependency of self
* libcap update git tree
* libsystemd is LGPL2.1
* update libsystemd git-tree
* change from find_package to find_dependency in unofficial cmake export
of libsystemd
* update libsystemd git-tree
* update libxcrypt
* update git tree libxcrypt
* patch pkgconfig file of libsystemd
* update libsystemd git-tree
* update libsystemd to 254
* update git-tree libsystemd
* * Copy of cap_names.h checked in for cross compilation
* Decouple cap_names.h from libcap.* make targets
* Use vcpkg_cmake_get_vars instead of ENV{CC} etc.
* Remove unnecessary self dependency of libcap
* Update libcap to 1.2.69
* Update git-tree
* cleanup old versions from version jsons
2023-09-20 16:56:16 +00:00
|
|
|
|
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/License")
|