File tree 3 files changed +47
-0
lines changed
3 files changed +47
-0
lines changed Original file line number Diff line number Diff line change
1
+ mkdir build
2
+ cd build
3
+ REM Configure step
4
+ if " %ARCH% " == " 32" (
5
+ set CMAKE_GENERATOR = Visual Studio 12 2013
6
+ ) else (
7
+ set CMAKE_GENERATOR = Visual Studio 12 2013 Win64
8
+ )
9
+ set CMAKE_GENERATOR_TOOLSET = v120_xp
10
+ cmake -G " %CMAKE_GENERATOR% " -DCMAKE_INSTALL_PREFIX=%PREFIX% -DOPENSSL_ROOT_DIR=%PREFIX% \Library\ %SRC_DIR%
11
+ if errorlevel 1 exit 1
12
+ REM Build step
13
+ cmake --build .
14
+ if errorlevel 1 exit 1
15
+ REM Install step
16
+ cmake --build . --target install
17
+ if errorlevel 1 exit 1
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ mkdir build
4
+ cd build
5
+ cmake .. -DCMAKE_INSTALL_PREFIX=$PREFIX -DOPENSSL_ROOT_DIR=$PREFIX
6
+ make -j2
7
+ make install
Original file line number Diff line number Diff line change
1
+ package :
2
+ name : libssh2
3
+ version : 1.6.0
4
+
5
+ source :
6
+ git_url : https://github.com/libssh2/libssh2
7
+ git_tag : libssh2-1.6.0
8
+
9
+ build :
10
+ number : 0
11
+
12
+ requirements :
13
+ build :
14
+ - system # [linux]
15
+ - cmake # [linux]
16
+ - openssl
17
+ run :
18
+ - openssl
19
+
20
+ about :
21
+ home : http://www.libssh2.org/
22
+ license : BSD
23
+ summary : ' libssh2 is a client-side C library implementing the SSH2 protocol'
You can’t perform that action at this time.
0 commit comments