mirror of
https://github.com/valitydev/msgpack-erlang.git
synced 2024-11-06 00:35:24 +00:00
change download timing
This commit is contained in:
parent
5d297d818c
commit
ad06d41a05
1
Makefile
1
Makefile
@ -15,7 +15,6 @@ console: compile
|
||||
|
||||
deps:
|
||||
@$(REBAR) update-deps get-deps
|
||||
-wget https://github.com/msgpack/msgpack-c/releases/download/cpp-0.5.8/msgpack-0.5.8.tar.gz -P c_src
|
||||
|
||||
compile:
|
||||
@$(REBAR) compile
|
||||
|
@ -1,8 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
if ! test -f c_src/msgpack-0.5.8/src/.libs/libmsgpack.a ; then
|
||||
tar xzf c_src/msgpack-0.5.8.tar.gz -C c_src
|
||||
cd c_src/msgpack-0.5.8
|
||||
MSGPACK_VERSION=0.5.8
|
||||
MSGPACK_TARBALL=msgpack-$MSGPACK_VERSION.tar.gz
|
||||
|
||||
if ! test -f c_src/$MSGPACK_TARBALL ; then
|
||||
wget https://github.com/msgpack/msgpack-c/releases/download/cpp-0.5.8/msgpack-0.5.8.tar.gz -P c_src
|
||||
fi
|
||||
|
||||
if ! test -f c_src/$MSGPACK_TARBALL/src/.libs/libmsgpack.a ; then
|
||||
tar xzf c_src/$MSGPACK_TARBALL -C c_src
|
||||
cd c_src/msgpack-$MSGPACK_VERSION
|
||||
./configure
|
||||
make
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user