[new port] Add package libleidenalg (#27845)

* [libleidenalg] add port libleidenalg

* [libleidenalg] fix git sha

* updated to new cmake lib

* updated to fix typo in config.in

* Fix version database.

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
This commit is contained in:
Andrew Robbins 2022-12-28 17:13:38 -05:00 committed by GitHub
parent c14c029c71
commit df1f608341
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 51 additions and 0 deletions

View File

@ -0,0 +1,19 @@
vcpkg_minimum_required(VERSION 2022-10-12) # for ${VERSION}
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO theAeon/libleidenalg
REF "v${VERSION}"
SHA512 8ce68de2d16462dbeb8d6d0bf7740e20d7977da6da4dff953e60f9dfc5964149be0fb85026a49d0b41589af4ef3454c64253c6a6f6fdaa84e460b0756896fb42
HEAD_REF master
)
vcpkg_cmake_configure(SOURCE_PATH "${SOURCE_PATH}")
vcpkg_cmake_install()
vcpkg_cmake_config_fixup()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

View File

@ -0,0 +1,19 @@
{
"name": "libleidenalg",
"version": "0.9.0",
"maintainers": "Andrew Robbins <andrew@robbinsa.me>",
"description": "Leiden is a general algorithm for methods of community detection in large networks.",
"homepage": "https://github.com/vtraag/libleidenalg",
"license": "GPL-3.0-or-later",
"dependencies": [
"igraph",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -3928,6 +3928,10 @@
"baseline": "1.10",
"port-version": 2
},
"libleidenalg": {
"baseline": "0.9.0",
"port-version": 0
},
"liblemon": {
"baseline": "2019-06-13",
"port-version": 3

View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "e3f8018154f86ae4ccf35801d996fc43ab445882",
"version": "0.9.0",
"port-version": 0
}
]
}