Skip to content

Instantly share code, notes, and snippets.

@RGPaul
RGPaul / cltools.sh
Last active August 29, 2015 14:12 — forked from jellybeansoup/cltools.sh
#!/bin/sh
##
# Install autoconf, automake and libtool smoothly on Mac OS X.
# Newer versions of these libraries are available and may work better on OS X
#
# This script is originally from http://jsdelfino.blogspot.com.au/2012/08/autoconf-and-automake-on-mac-os-x.html
#
# you should export /usr/local/bin if not already the case
# export PATH=$PATH:/usr/local/bin
@RGPaul
RGPaul / build_openssl_dylib.sh
Last active February 20, 2017 15:38 — forked from tmiz/build_openssl_dylib.sh
Build latest OpenSSL Universal Binary on OSX
#!/bin/bash
# this is the dynamic library version of this script
# set the version to build
declare OPENSSL_VERSION="1.0.2k"
# only download if not already present
if [ ! -f openssl-${OPENSSL_VERSION}.tar.gz ]; then
curl -O http://www.openssl.org/source/openssl-${OPENSSL_VERSION}.tar.gz
@RGPaul
RGPaul / Makefile
Created May 9, 2016 09:29 — forked from j0sh/Makefile
iOS static library cross-compile script.
# iOS builds for ARMv7 and simulator i386.
# Assumes any dependencies are in a local folder called libs and
# headers in a local folder called headers.
# Dependencies should already have been compiled for the target arch.
PROJ=untitled
ifeq ($(IOS), 1)
ARCH=armv7
DEVICE=OS
CC_FLAGS=-arch $(ARCH)