diff --git a/ports/guile/portfile.cmake b/ports/guile/portfile.cmake new file mode 100644 index 0000000000..c41acdf453 --- /dev/null +++ b/ports/guile/portfile.cmake @@ -0,0 +1,25 @@ +vcpkg_download_distfile(GUILE_ARCHIVE + URLS https://ftp.gnu.org/gnu/guile/guile-3.0.8.tar.gz + FILENAME guile-3.0.8.tar.gz + SHA512 7b2728e849a3ee482fe9a167dd76cc4835e911cc94ca0724dd51e8a813a240c6b5d2de84de16b46469ab24305b5b153a3c812fec942e007d3310bba4d1cf947d + ) + +vcpkg_extract_source_archive(GUILE_SOURCES ARCHIVE ${GUILE_ARCHIVE}) + +vcpkg_configure_make( + SOURCE_PATH "${GUILE_SOURCES}" + ADD_BIN_TO_PATH + AUTOCONFIG + ) +vcpkg_install_make() +vcpkg_copy_pdbs() + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") + +vcpkg_fixup_pkgconfig() + +file( + INSTALL "${GUILE_SOURCES}/COPYING.LESSER" + DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" + RENAME copyright + ) diff --git a/ports/guile/vcpkg.json b/ports/guile/vcpkg.json new file mode 100644 index 0000000000..59c7e41635 --- /dev/null +++ b/ports/guile/vcpkg.json @@ -0,0 +1,22 @@ +{ + "name": "guile", + "version": "3.0.8", + "description": "GNU's programming and extension language", + "homepage": "https://www.gnu.org/software/guile/", + "documentation": "https://www.gnu.org/software/guile/manual/", + "license": "LGPL-3.0-or-later", + "supports": "linux", + "dependencies": [ + "bdwgc", + { + "name": "gettext", + "host": true, + "features": [ + "tools" + ] + }, + "gmp", + "libffi", + "libunistring" + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index 6a7f8719ab..3765579927 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -2764,6 +2764,10 @@ "baseline": "2020-09-14", "port-version": 2 }, + "guile": { + "baseline": "3.0.8", + "port-version": 0 + }, "guilite": { "baseline": "2022-05-05", "port-version": 0 diff --git a/versions/g-/guile.json b/versions/g-/guile.json new file mode 100644 index 0000000000..bed043b145 --- /dev/null +++ b/versions/g-/guile.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "1c74041cde8519afb26d9fa588b8d24877d35514", + "version": "3.0.8", + "port-version": 0 + } + ] +}