aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
Diffstat (limited to 'ports')
-rw-r--r--ports/liblo/CONTROL4
-rw-r--r--ports/liblo/portfile.cmake6
-rw-r--r--ports/liblo/vcpkg.json7
3 files changed, 8 insertions, 9 deletions
diff --git a/ports/liblo/CONTROL b/ports/liblo/CONTROL
deleted file mode 100644
index 4efcd14c7..000000000
--- a/ports/liblo/CONTROL
+++ /dev/null
@@ -1,4 +0,0 @@
-Source: liblo
-Version: 0.31
-Homepage: https://github.com/radarsat1/liblo
-Description: liblo is an implementation of the Open Sound Control protocol for POSIX systems \ No newline at end of file
diff --git a/ports/liblo/portfile.cmake b/ports/liblo/portfile.cmake
index 9d02b6599..3ddfd9e7a 100644
--- a/ports/liblo/portfile.cmake
+++ b/ports/liblo/portfile.cmake
@@ -17,14 +17,10 @@ vcpkg_install_cmake()
# Install needed files into package directory
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/liblo)
-file(INSTALL ${CURRENT_PACKAGES_DIR}/bin/oscsend.exe DESTINATION ${CURRENT_PACKAGES_DIR}/tools/liblo)
-file(INSTALL ${CURRENT_PACKAGES_DIR}/bin/oscdump.exe DESTINATION ${CURRENT_PACKAGES_DIR}/tools/liblo)
-vcpkg_copy_tool_dependencies(${CURRENT_PACKAGES_DIR}/tools/liblo)
+vcpkg_copy_tools(TOOL_NAMES oscsend oscdump AUTO_CLEAN)
# Remove unnecessary files
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
-file(REMOVE ${CURRENT_PACKAGES_DIR}/bin/oscsend.exe ${CURRENT_PACKAGES_DIR}/bin/oscdump.exe)
-file(REMOVE ${CURRENT_PACKAGES_DIR}/debug/bin/oscsend.exe ${CURRENT_PACKAGES_DIR}/debug/bin/oscdump.exe)
if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin)
diff --git a/ports/liblo/vcpkg.json b/ports/liblo/vcpkg.json
new file mode 100644
index 000000000..f013f968c
--- /dev/null
+++ b/ports/liblo/vcpkg.json
@@ -0,0 +1,7 @@
+{
+ "name": "liblo",
+ "version-string": "0.31",
+ "port-version": 1,
+ "description": "liblo is an implementation of the Open Sound Control protocol for POSIX systems",
+ "homepage": "https://github.com/radarsat1/liblo"
+}