aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Camp <John Camp>2016-10-21 00:32:17 -0400
committerJohn Camp <John Camp>2016-10-21 00:32:17 -0400
commitd226583ed168013d5bf9200a28978f1cbfa2800e (patch)
tree81f0c5edb3e09de590a3e3dc911ca83a4074c917
parent38e152cb2993b198ea77c26ce28687f506f5e3fb (diff)
downloadvcpkg-d226583ed168013d5bf9200a28978f1cbfa2800e.tar.gz
vcpkg-d226583ed168013d5bf9200a28978f1cbfa2800e.zip
Changed the download link to a static link.
The different download link packaged the zip slightly differently, changing the hash as well as the src path.
-rw-r--r--ports/pdcurses/portfile.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/ports/pdcurses/portfile.cmake b/ports/pdcurses/portfile.cmake
index c9fdb7fbc..be2f1fc4f 100644
--- a/ports/pdcurses/portfile.cmake
+++ b/ports/pdcurses/portfile.cmake
@@ -1,18 +1,18 @@
include(${CMAKE_TRIPLET_FILE})
include(vcpkg_common_functions)
-set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/PDCurses-3.4)
+set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src)
find_program(NMAKE nmake)
vcpkg_download_distfile(ARCHIVE
- URLS "https://sourceforge.net/projects/pdcurses/files/latest/download?source=files"
+ URLS "http://downloads.sourceforge.net/project/pdcurses/pdcurses/3.4/pdcurs34.zip"
FILENAME "pdcurs34.zip"
- SHA512 cf2144359935ea553954e60e74318168d4c6fcee48648dfec74325742a61786b285c59ad0a014cc1f4039a332c3dbf2031c64865025a0cd25ef8faacc5827d05
+ SHA512 0b916bfe37517abb80df7313608cc4e1ed7659a41ce82763000dfdfa5b8311ffd439193c74fc84a591f343147212bf1caf89e7db71f1f7e4fa70f534834cb039
)
vcpkg_extract_source_archive(${ARCHIVE})
message(STATUS "Build ${TARGET_TRIPLET}")
vcpkg_execute_required_process(
- COMMAND ${NMAKE} -f vcwin32.mak WIDE=Y UTF8=Y PDCLIBS
+ COMMAND ${NMAKE} -f vcwin32.mak WIDE=Y UTF8=Y
WORKING_DIRECTORY ${SOURCE_PATH}/win32
LOGNAME build-${TARGET_TRIPLET}
)