osrm-backend/scripts/protozero/1.4.2/script.sh
Dane Springmeyer a34a885031 Squashed 'third_party/mason/' content from commit 1b3085e
git-subtree-dir: third_party/mason
git-subtree-split: 1b3085e812b08ef092ba43945e3ab9f802632280
2016-10-28 12:21:21 -07:00

33 lines
636 B
Bash

#!/usr/bin/env bash
MASON_NAME=protozero
MASON_VERSION=1.4.2
MASON_HEADER_ONLY=true
. ${MASON_DIR}/mason.sh
function mason_load_source {
mason_download \
https://github.com/mapbox/protozero/archive/v${MASON_VERSION}.tar.gz \
d4db66ece4fb40460efbceafecbc84a8987e7aaf
mason_extract_tar_gz
export MASON_BUILD_PATH=${MASON_ROOT}/.build/protozero-${MASON_VERSION}
}
function mason_compile {
mkdir -p ${MASON_PREFIX}/include/
cp -r include/protozero ${MASON_PREFIX}/include/protozero
}
function mason_cflags {
echo "-I${MASON_PREFIX}/include"
}
function mason_ldflags {
:
}
mason_run "$@"