From 8cee9c6e07556b109fa69c15056ec6764e70ee84 Mon Sep 17 00:00:00 2001 From: Ninetainedo Date: Thu, 22 Sep 2016 21:30:58 +0200 Subject: Replaced everything concerning MD5 with SHA512 --- scripts/templates/portfile.in.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/templates') diff --git a/scripts/templates/portfile.in.cmake b/scripts/templates/portfile.in.cmake index b29e2b682..99a3ac3e8 100644 --- a/scripts/templates/portfile.in.cmake +++ b/scripts/templates/portfile.in.cmake @@ -2,7 +2,7 @@ include(vcpkg_common_functions) vcpkg_download_distfile(ARCHIVE URL "@URL@" FILENAME "@FILENAME@" - MD5 @MD5@ + SHA512 @SHA512@ ) vcpkg_extract_source_archive(${ARCHIVE}) -- cgit v1.2.3 From 2491a16b0dd4bb88d48cd582e12e953c50a24b10 Mon Sep 17 00:00:00 2001 From: Ninetainedo Date: Sun, 25 Sep 2016 14:46:43 +0200 Subject: Updated portfile.in.cmake to use URLS --- scripts/templates/portfile.in.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/templates') diff --git a/scripts/templates/portfile.in.cmake b/scripts/templates/portfile.in.cmake index 99a3ac3e8..f74c89aca 100644 --- a/scripts/templates/portfile.in.cmake +++ b/scripts/templates/portfile.in.cmake @@ -1,6 +1,6 @@ include(vcpkg_common_functions) vcpkg_download_distfile(ARCHIVE - URL "@URL@" + URLS "@URL@" FILENAME "@FILENAME@" SHA512 @SHA512@ ) -- cgit v1.2.3 From e4ada711c27221f2abd166c65a11940caff88f51 Mon Sep 17 00:00:00 2001 From: Alexander Karatarakis Date: Wed, 28 Sep 2016 16:21:47 -0700 Subject: Add Common Ambient Variables to porfile template --- scripts/templates/portfile.in.cmake | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'scripts/templates') diff --git a/scripts/templates/portfile.in.cmake b/scripts/templates/portfile.in.cmake index f74c89aca..7d68d4525 100644 --- a/scripts/templates/portfile.in.cmake +++ b/scripts/templates/portfile.in.cmake @@ -1,3 +1,12 @@ +# Common Ambient Variables: +# VCPKG_ROOT_DIR = +# TARGET_TRIPLET is the current triplet (x86-windows, etc) +# PORT is the current port name (zlib, etc) +# CURRENT_BUILDTREES_DIR = ${VCPKG_ROOT_DIR}\buildtrees\${PORT} +# CURRENT_PACKAGES_DIR = ${VCPKG_ROOT_DIR}\packages\${PORT}_${TARGET_TRIPLET} +# + +include(${CMAKE_TRIPLET_FILE}) include(vcpkg_common_functions) vcpkg_download_distfile(ARCHIVE URLS "@URL@" -- cgit v1.2.3 From 241ca8cd17929d53a5c10c4f366f6972d865ba4f Mon Sep 17 00:00:00 2001 From: Robert Schumacher Date: Fri, 30 Sep 2016 17:09:17 -0700 Subject: [vcpkg] Improve create command to generate initial CONTROL file --- scripts/templates/CONTROL.in | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 scripts/templates/CONTROL.in (limited to 'scripts/templates') diff --git a/scripts/templates/CONTROL.in b/scripts/templates/CONTROL.in new file mode 100644 index 000000000..c5b706861 --- /dev/null +++ b/scripts/templates/CONTROL.in @@ -0,0 +1,3 @@ +Source: @PORT@ +Version: +Description: \ No newline at end of file -- cgit v1.2.3 From 0aa4dfb718f9038a251fa90a2b91115dbf2abf7b Mon Sep 17 00:00:00 2001 From: Alexander Karatarakis Date: Wed, 5 Oct 2016 16:59:59 -0700 Subject: Update portfile template to include SOURCE_PATH --- scripts/templates/portfile.in.cmake | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'scripts/templates') diff --git a/scripts/templates/portfile.in.cmake b/scripts/templates/portfile.in.cmake index 7d68d4525..760b6a700 100644 --- a/scripts/templates/portfile.in.cmake +++ b/scripts/templates/portfile.in.cmake @@ -8,6 +8,7 @@ include(${CMAKE_TRIPLET_FILE}) include(vcpkg_common_functions) +set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/@ROOT_NAME@) vcpkg_download_distfile(ARCHIVE URLS "@URL@" FILENAME "@FILENAME@" @@ -16,7 +17,7 @@ vcpkg_download_distfile(ARCHIVE vcpkg_extract_source_archive(${ARCHIVE}) vcpkg_configure_cmake( - SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/@ROOT_NAME@ + SOURCE_PATH ${SOURCE_PATH} # OPTIONS -DUSE_THIS_IN_ALL_BUILDS=1 -DUSE_THIS_TOO=2 # OPTIONS_RELEASE -DOPTIMIZE=1 # OPTIONS_DEBUG -DDEBUGGABLE=1 @@ -26,5 +27,5 @@ vcpkg_build_cmake() vcpkg_install_cmake() # Handle copyright -#file(COPY ${CURRENT_BUILDTREES_DIR}/src/@ROOT_NAME@/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/@PORT@) +#file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/@PORT@) #file(RENAME ${CURRENT_PACKAGES_DIR}/share/@PORT@/LICENSE ${CURRENT_PACKAGES_DIR}/share/@PORT@/copyright) \ No newline at end of file -- cgit v1.2.3 From b1fe038a839d54fa7da9cadf8eb5e487bf30cb01 Mon Sep 17 00:00:00 2001 From: Robert Schumacher Date: Thu, 6 Oct 2016 15:29:37 -0700 Subject: Remove use of vcpkg_build_cmake() across all portfiles. Fixes #123 --- scripts/templates/portfile.in.cmake | 1 - 1 file changed, 1 deletion(-) (limited to 'scripts/templates') diff --git a/scripts/templates/portfile.in.cmake b/scripts/templates/portfile.in.cmake index 760b6a700..804d8d216 100644 --- a/scripts/templates/portfile.in.cmake +++ b/scripts/templates/portfile.in.cmake @@ -23,7 +23,6 @@ vcpkg_configure_cmake( # OPTIONS_DEBUG -DDEBUGGABLE=1 ) -vcpkg_build_cmake() vcpkg_install_cmake() # Handle copyright -- cgit v1.2.3