get-libuv.sh: compile bundled libuv

Rename file to reflect new intent of script. Libuv is bundled into the
third-party directory. Modify the script to compile but not fetch libuv.
This commit is contained in:
Rich Wareham
2014-02-24 10:03:11 +00:00
parent f78d5aa87b
commit d047b28ac1
2 changed files with 10 additions and 16 deletions

10
scripts/compile-libuv.sh Normal file
View File

@@ -0,0 +1,10 @@
. scripts/common.sh
uv_dir="third-party/libuv"
cd "$uv_dir"
sh autogen.sh
./configure --prefix="$prefix"
make
make install
rm "$prefix/lib/"libuv*.{so,dylib} "$prefix/lib/"libuv*.{so,dylib}.* || true

View File

@@ -1,16 +0,0 @@
. 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,dylib} "$prefix/lib/"libuv*.{so,dylib}.* || true