/conan-libressl-scripts

Scripts to build LibreSSL Conan packages

Primary LanguageShellMIT LicenseMIT

Conan LibreSSL

This repository contains a conan receipe that can be used to build LibreSSL packages.

For Infos about LibreSSL please visit libressl.org.
The library is licensed under the ISC License.
This repository is licensed under the MIT License.

Android

The environmental ANDROID_NDK_PATH must be set to the path of the android ndk.

To create a package for Android you can run the conan command like this:

export ANDROID_NDK_PATH='/opt/android-ndks/android-ndk-r20'
conan create . libressl/2.9.2@rgpaul/stable -s os=Android -s os.api_level=21 -s compiler=clang -s compiler.version=8.0 -s compiler.libcxx=libc++ -s arch=x86_64 -s build_type=Release -o android_ndk=r20 -o android_stl_type=c++_static

Requirements

iOS

To create a package for iOS you can run the conan command like this:

conan create . libressl/2.9.2@rgpaul/stable -s os=iOS -s os.version=13.0 -s arch=armv8 -s build_type=Release -o shared=False

Requirements

Linux - Debian

To create a package for Linux you can run the conan command like this:

conan create . libressl/2.9.2@rgpaul/stable -s os=Linux -s arch=x86_64 -s build_type=Release -o shared=False

Requirements

  • CMake
  • Conan
  • build-essential, make, curl, git, unzip and zip (apt-get install build-essential cmake curl git unzip zip)

macOS

To create a package for macOS you can run the conan command like this:

conan create . libressl/2.9.2@rgpaul/stable -s os=Macos -s os.version=10.15 -s arch=x86_64 -s build_type=Release -o shared=False

Requirements

Windows 10

To create a package for Windows 10 you can run the conan command like this:

conan create . libressl/2.9.2@rgpaul/stable -s os=Windows -s compiler="Visual Studio" -s compiler.runtime=MT -s arch=x86_64 -s build_type=Release -o shared=False

Requirements