commit | author | age | ||
6e1425 | 1 | task :default do |
H | 2 | sh 'tar zxvf yajl-1.0.9.tar.gz -- yajl-1.0.9/src/*.{c,h}' |
3 | rm_rf 'yajl' | |
4 | mv 'yajl-1.0.9/src', 'yajl' | |
5 | sh %[sed -i '' -e 's,include <yajl/yajl_common.h>,include "yajl_common.h",g' yajl/api/yajl_{parse,gen}.h] | |
6 | ln_sf 'api/yajl_parse.h', 'yajl/' | |
7 | ln_sf 'api/yajl_gen.h', 'yajl/' | |
8 | ln_sf 'api/yajl_common.h', 'yajl/' | |
9 | rm_rf 'yajl-1.0.9' | |
10 | end |