File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ version: ~> 1.0
22
33language : generic
44
5- dist : precise
5+ dist : xenial
66
77install :
88 - source utils/toolchain.sh
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ MASON_PKGCONFIG_FILE=lib/pkgconfig/libzip.pc
99
1010function mason_load_source {
1111 mason_download \
12- https://www.nih.at/libzip /libzip-${MASON_VERSION} .tar.gz \
12+ https://libzip.org/download /libzip-${MASON_VERSION} .tar.gz \
1313 4bc18317d0607d5a24b618a6a5c1c229dade48e8
1414
1515 mason_extract_tar_gz
Original file line number Diff line number Diff line change 1+ language : generic
2+
3+ script :
4+ - ./mason build ${MASON_NAME} ${MASON_VERSION}
5+
6+ after_success :
7+ - ./mason publish ${MASON_NAME} ${MASON_VERSION}
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ MASON_NAME=sdf-glyph-foundry
4+ MASON_VERSION=0.2.0
5+ MASON_HEADER_ONLY=true
6+
7+ . ${MASON_DIR} /mason.sh
8+
9+ function mason_load_source {
10+ mason_download \
11+ https://github.com/mapbox/sdf-glyph-foundry/archive/v${MASON_VERSION} .tar.gz \
12+ 1ef9a9cef2dc2c020cbf703a48afff43d76f6c99
13+
14+ mason_extract_tar_gz
15+
16+ export MASON_BUILD_PATH=${MASON_ROOT} /.build/sdf-glyph-foundry-${MASON_VERSION}
17+ }
18+
19+ function mason_compile {
20+ mkdir -p ${MASON_PREFIX} /include/
21+ cp -r include/mapbox ${MASON_PREFIX} /include/mapbox
22+ cp -r include/agg ${MASON_PREFIX} /include/agg
23+ }
24+
25+ function mason_cflags {
26+ echo " -I${MASON_PREFIX} /include"
27+ }
28+
29+ function mason_ldflags {
30+ :
31+ }
32+
33+ function mason_static_libs {
34+ :
35+ }
36+
37+ mason_run " $@ "
You can’t perform that action at this time.
0 commit comments