Sha256: 3aef40c1b273f7d30825562a56aeaf7b43b3f62cbb1d885c1370e89b00be9eeb

Contents?: true

Size: 559 Bytes

Versions: 3

Compression:

Stored size: 559 Bytes

Contents

#! /bin/sh

export XCODEDIR=$(xcode-select -p)
export BASEDIR="${XCODEDIR}/Platforms/iPhoneOS.platform/Developer"
export PATH="${BASEDIR}/usr/bin:$BASEDIR/usr/sbin:$PATH"
export SDK="${BASEDIR}/SDKs/iPhoneOS7.1.sdk"
export CFLAGS="-Oz -mthumb -arch armv7 -isysroot ${SDK}"
export LDFLAGS="-mthumb -arch armv7 -isysroot ${SDK}"
export PREFIX="$(pwd)/libsodium-ios"

./configure --host=arm-apple-darwin10 \
            --disable-shared \
            --prefix="$PREFIX" && \
make clean && \
make -j3 install && \
echo "libsodium has been installed into $PREFIX"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rbnacl-libsodium-0.5.0.1 vendor/libsodium/dist-build/ios.sh
rbnacl-libsodium-0.5.0.1.pre vendor/libsodium/dist-build/ios.sh
rbnacl-libsodium-0.5.0 vendor/libsodium/dist-build/ios.sh