Sha256: 459372d7e30308ecde71c18e75090f9a34c36896b4e81dcdc61655c4f156e9a6

Contents?: true

Size: 634 Bytes

Versions: 2

Compression:

Stored size: 634 Bytes

Contents

#!/bin/bash

# (c) Copyright 2018 Ribose Inc.
#

# Based on:
# https://github.com/riboseinc/ruby-rnp/blob/52d6113458cb095cf7811/ci/install.sh

set -eux

: "${CORES:=2}"
: "${MAKE:=make}"

botan_build="${DEPS_BUILD_DIR}/botan"

if [ ! -e "${BOTAN_PREFIX}/lib/libbotan-2.so" ] && \
	 [ ! -e "${BOTAN_PREFIX}/lib/libbotan-2.dylib" ]; then

	if [ -d "${botan_build}" ]; then
		rm -rf "${botan_build}"
	fi

	git clone --depth 1 https://github.com/randombit/botan "${botan_build}"
	pushd "${botan_build}"
	./configure.py --prefix="${BOTAN_PREFIX}" --with-debug-info --cxxflags="-fno-omit-frame-pointer"
	${MAKE} -j${CORES} install
	popd
fi

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
enmail-0.2.1 ci/install_botan.sh
enmail-0.2.0 ci/install_botan.sh