aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/faker-cxx
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/faker-cxx
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/faker-cxx')
-rw-r--r--vcpkg/ports/faker-cxx/portfile.cmake27
-rw-r--r--vcpkg/ports/faker-cxx/vcpkg.json17
2 files changed, 44 insertions, 0 deletions
diff --git a/vcpkg/ports/faker-cxx/portfile.cmake b/vcpkg/ports/faker-cxx/portfile.cmake
new file mode 100644
index 0000000..72b2dc0
--- /dev/null
+++ b/vcpkg/ports/faker-cxx/portfile.cmake
@@ -0,0 +1,27 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO cieslarmichal/faker-cxx
+ REF "v${VERSION}"
+ SHA512 5deffc3f820926719a8398d9ecb6e643d94667c6959b5f9e121d6300239d9537c8a8a39389ce74d5d174df215220d48fd599398063063e5ad778bc00e0d659b1
+ HEAD_REF main
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS
+ -DBUILD_TESTING=OFF
+)
+vcpkg_cmake_install()
+
+vcpkg_fixup_pkgconfig()
+
+vcpkg_cmake_config_fixup(
+ PACKAGE_NAME faker-cxx
+ CONFIG_PATH "lib/cmake"
+)
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share"
+ "${CURRENT_PACKAGES_DIR}/debug/include"
+ "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig"
+)
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE" "${SOURCE_PATH}/LICENSES.md")
diff --git a/vcpkg/ports/faker-cxx/vcpkg.json b/vcpkg/ports/faker-cxx/vcpkg.json
new file mode 100644
index 0000000..1b60112
--- /dev/null
+++ b/vcpkg/ports/faker-cxx/vcpkg.json
@@ -0,0 +1,17 @@
+{
+ "name": "faker-cxx",
+ "version": "4.0.1",
+ "description": "C++ Faker library for generating fake (but realistic) data.",
+ "homepage": "https://cieslarmichal.github.io/faker-cxx/",
+ "license": "MIT",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}