aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBagong <rs@bagong.de>2017-05-29 09:05:52 +0200
committerBagong <rs@bagong.de>2017-05-29 09:05:52 +0200
commit71726ac000d3dce275289e0807f6bee3e50fe85c (patch)
treed2719674b0fe44d925865aae88817a08e6ef6e14 /scripts
parent39b69e5b06df309b9dcfea55296a4c2c3eea93ce (diff)
downloadvcpkg-71726ac000d3dce275289e0807f6bee3e50fe85c.tar.gz
vcpkg-71726ac000d3dce275289e0807f6bee3e50fe85c.zip
Correct path bison/flex add ruby 2.4.1 and gperf 3.0.1
Diffstat (limited to 'scripts')
-rw-r--r--scripts/cmake/vcpkg_find_acquire_program.cmake34
1 files changed, 23 insertions, 11 deletions
diff --git a/scripts/cmake/vcpkg_find_acquire_program.cmake b/scripts/cmake/vcpkg_find_acquire_program.cmake
index e7e33c692..f6814c37f 100644
--- a/scripts/cmake/vcpkg_find_acquire_program.cmake
+++ b/scripts/cmake/vcpkg_find_acquire_program.cmake
@@ -90,6 +90,12 @@ function(vcpkg_find_acquire_program VAR)
" https://www.python.org/ftp/python/2.7.13/python-2.7.13.msi\n"
)
endif()
+ elseif(VAR MATCHES "RUBY")
+ set(PROGNAME "ruby")
+ set(PATHS ${DOWNLOADS}/tools/ruby/rubyinstaller-2.4.1-1-x86/bin)
+ set(URL https://github.com/oneclick/rubyinstaller2/releases/download/2.4.1-1/rubyinstaller-2.4.1-1-x86.7z)
+ set(ARCHIVE rubyinstaller-2.4.1-1-x86.7z)
+ set(HASH b51112e9b58cfcbe8cec0607e8a16fff6a943d9b4e31b2a7fbf5df5f83f050bf0a4812d3dd6000ff21a3d5fd219cd0a309c58ac1c1db950a9b0072405e4b70f5)
elseif(VAR MATCHES "JOM")
set(PROGNAME jom)
set(SUBDIR "jom-1.1.2")
@@ -118,18 +124,24 @@ function(vcpkg_find_acquire_program VAR)
set(URL "https://github.com/mesonbuild/meson/archive/0.40.1.zip")
set(ARCHIVE "meson-0.40.1.zip")
set(HASH 4c1d07f32d527859f762c34de74d31d569573fc833335ab9652ed38d1f9e64b49869e826527c28a6a07cb8e594fd5c647b34aa95e626236a2707f75df0a2d435)
- elseif(VAR MATCHES "FLEX")
- set(PROGNAME win_flex)
- set(PATHS ${DOWNLOADS}/tools/winflexbison)
- set(URL "https://sourceforge.net/projects/winflexbison/files/win_flex_bison-2.5.9.zip/download")
- set(ARCHIVE "win_flex_bison-2.5.9.zip")
- set(HASH 9580f0e46893670a011645947c1becda69909a41a38bb4197fe33bd1ab7719da6b80e1be316f269e1a4759286870d49a9b07ef83afc4bac33232bd348e0bc814)
+ elseif(VAR MATCHES "FLEX")
+ set(PROGNAME win_flex)
+ set(PATHS ${DOWNLOADS}/tools/win_flex)
+ set(URL "https://sourceforge.net/projects/winflexbison/files/win_flex_bison-2.5.9.zip/download")
+ set(ARCHIVE "win_flex_bison-2.5.9.zip")
+ set(HASH 9580f0e46893670a011645947c1becda69909a41a38bb4197fe33bd1ab7719da6b80e1be316f269e1a4759286870d49a9b07ef83afc4bac33232bd348e0bc814)
elseif(VAR MATCHES "BISON")
- set(PROGNAME win_bison)
- set(PATHS ${DOWNLOADS}/tools/winflexbison)
- set(URL "https://sourceforge.net/projects/winflexbison/files/win_flex_bison-2.5.9.zip/download")
- set(ARCHIVE "win_flex_bison-2.5.9.zip")
- set(HASH 9580f0e46893670a011645947c1becda69909a41a38bb4197fe33bd1ab7719da6b80e1be316f269e1a4759286870d49a9b07ef83afc4bac33232bd348e0bc814)
+ set(PROGNAME win_bison)
+ set(PATHS ${DOWNLOADS}/tools/win_bison)
+ set(URL "https://sourceforge.net/projects/winflexbison/files/win_flex_bison-2.5.9.zip/download")
+ set(ARCHIVE "win_flex_bison-2.5.9.zip")
+ set(HASH 9580f0e46893670a011645947c1becda69909a41a38bb4197fe33bd1ab7719da6b80e1be316f269e1a4759286870d49a9b07ef83afc4bac33232bd348e0bc814)
+ elseif(VAR MATCHES "GPERF")
+ set(PROGNAME gperf)
+ set(PATHS ${DOWNLOADS}/tools/gperf/bin)
+ set(URL "https://sourceforge.net/projects/gnuwin32/files/gperf/3.0.1/gperf-3.0.1-bin.zip/download")
+ set(ARCHIVE "gperf-3.0.1-bin.zip")
+ set(HASH 3f2d3418304390ecd729b85f65240a9e4d204b218345f82ea466ca3d7467789f43d0d2129fcffc18eaad3513f49963e79775b10cc223979540fa2e502fe7d4d9)
else()
message(FATAL "unknown tool ${VAR} -- unable to acquire.")
endif()