aboutsummaryrefslogtreecommitdiff
path: root/ports/libepoxy
diff options
context:
space:
mode:
Diffstat (limited to 'ports/libepoxy')
-rw-r--r--ports/libepoxy/CONTROL5
-rw-r--r--ports/libepoxy/portfile.cmake12
-rw-r--r--ports/libepoxy/vcpkg.json10
3 files changed, 18 insertions, 9 deletions
diff --git a/ports/libepoxy/CONTROL b/ports/libepoxy/CONTROL
deleted file mode 100644
index 7e6b7e532..000000000
--- a/ports/libepoxy/CONTROL
+++ /dev/null
@@ -1,5 +0,0 @@
-Source: libepoxy
-Version: 1.5.5
-Homepage: https://github.com/anholt/libepoxy
-Description: Epoxy is a library for handling OpenGL function pointer management for you
-Build-Depends: tool-meson
diff --git a/ports/libepoxy/portfile.cmake b/ports/libepoxy/portfile.cmake
index 90290b5a0..83a32bb74 100644
--- a/ports/libepoxy/portfile.cmake
+++ b/ports/libepoxy/portfile.cmake
@@ -25,12 +25,16 @@ endif()
vcpkg_configure_meson(
SOURCE_PATH ${SOURCE_PATH}
- OPTIONS ${OPTIONS} -Dtests=false
+ OPTIONS
+ ${OPTIONS}
+ -Dtests=false
)
vcpkg_install_meson()
vcpkg_copy_pdbs()
-file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/share/pkgconfig)
-file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share/pkgconfig)
+vcpkg_fixup_pkgconfig()
-file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/pkgconfig")
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share/pkgconfig")
+
+file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
diff --git a/ports/libepoxy/vcpkg.json b/ports/libepoxy/vcpkg.json
new file mode 100644
index 000000000..d5f7b4259
--- /dev/null
+++ b/ports/libepoxy/vcpkg.json
@@ -0,0 +1,10 @@
+{
+ "name": "libepoxy",
+ "version-semver": "1.5.5",
+ "port-version": 1,
+ "description": "Epoxy is a library for handling OpenGL function pointer management for you",
+ "homepage": "https://github.com/anholt/libepoxy",
+ "dependencies": [
+ "tool-meson"
+ ]
+}