From e3e89d166307e02211606771289ec8d9e4574c01 Mon Sep 17 00:00:00 2001 From: atkawa7 Date: Thu, 15 Jun 2017 13:04:24 -0700 Subject: [PATCH] [nuklea] new port #1291 --- ports/nuklear/CONTROL | 3 +++ ports/nuklear/portfile.cmake | 11 +++++++++++ 2 files changed, 14 insertions(+) create mode 100644 ports/nuklear/CONTROL create mode 100644 ports/nuklear/portfile.cmake diff --git a/ports/nuklear/CONTROL b/ports/nuklear/CONTROL new file mode 100644 index 0000000000..45dab49d26 --- /dev/null +++ b/ports/nuklear/CONTROL @@ -0,0 +1,3 @@ +Source: nuklear +Version: 2017-06-15-5c7194c2fe2c68c1a8212712c0b4b6195382d27d +Description: This is a minimal state immediate mode graphical user interface toolkit written in ANSI C and licensed under public domain diff --git a/ports/nuklear/portfile.cmake b/ports/nuklear/portfile.cmake new file mode 100644 index 0000000000..907d8d2a97 --- /dev/null +++ b/ports/nuklear/portfile.cmake @@ -0,0 +1,11 @@ +include(vcpkg_common_functions) +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO vurtun/nuklear + REF 5c7194c2fe2c68c1a8212712c0b4b6195382d27d + SHA512 85d8255071fb42d0a521d8d34ac579dbaa5800e96d156fa42e4ee971f1d92ea51ef3a69a166f03f3cf66b086c452892cc29457bbe4aea599c918649e87e84c38 + HEAD_REF master +) +file(INSTALL ${SOURCE_PATH}/nuklear.h DESTINATION ${CURRENT_PACKAGES_DIR}/include) +file(INSTALL ${SOURCE_PATH}/Readme.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/nuklear RENAME copyright) +vcpkg_copy_pdbs()