aboutsummaryrefslogtreecommitdiff
path: root/scripts/get-libuv.sh
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-02-01 11:20:02 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-02-01 11:20:02 -0300
commit6b0b466585ea1e74f51d94dc0933f90f03366253 (patch)
tree8fdc2984ba5ce2c616f8b5796db098152290b54e /scripts/get-libuv.sh
parent3da78364cc96b97948608ff685ef8b9cac71e96e (diff)
downloadrneovim-6b0b466585ea1e74f51d94dc0933f90f03366253.tar.gz
rneovim-6b0b466585ea1e74f51d94dc0933f90f03366253.tar.bz2
rneovim-6b0b466585ea1e74f51d94dc0933f90f03366253.zip
Automate libuv download and build
Diffstat (limited to 'scripts/get-libuv.sh')
-rw-r--r--scripts/get-libuv.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/scripts/get-libuv.sh b/scripts/get-libuv.sh
new file mode 100644
index 0000000000..e7001ef3a0
--- /dev/null
+++ b/scripts/get-libuv.sh
@@ -0,0 +1,16 @@
+. scripts/common.sh
+
+uv_repo=joyent/libuv
+uv_ver=v0.11.19
+uv_dir="$deps/uv-$uv_ver"
+uv_sha1=5539d8e99e22b438cf4a412d4cec70ac6bb519fc
+
+rm -rf "$uv_dir"
+
+github_download "$uv_repo" "$uv_ver" "$uv_dir" "$uv_sha1"
+cd "$uv_dir"
+sh autogen.sh
+./configure --prefix="$prefix"
+make
+make install
+rm "$prefix/lib/"libuv*.so "$prefix/lib/"libuv*.so.*