From c4519977f1d1dcb6d8b2ce51ec6d31ebf23213e7 Mon Sep 17 00:00:00 2001 From: Nick Baugh Date: Sun, 18 May 2014 22:57:04 -0400 Subject: [PATCH] Updated dependencies and added one liner for install on OSX --- Readme.md | 6 ++++++ install | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Readme.md b/Readme.md index 98bd58e..c0626e9 100644 --- a/Readme.md +++ b/Readme.md @@ -18,6 +18,12 @@ Unless previously installed you'll _need_ __Cairo__. For system-specific installation view the [Wiki](https://github.com/LearnBoost/node-canvas/wiki/_pages). +You can quickly install Cairo and its dependencies for OS X using the one liner below: + +```bash +wget https://raw.githubusercontent.com/LearnBoost/node-canvas/master/install -O - | sh +``` + ## Screencasts - [Introduction](http://screenr.com/CTk) diff --git a/install b/install index 5483ae9..87bd609 100755 --- a/install +++ b/install @@ -1,10 +1,10 @@ #!/bin/sh -PKG_CONFIG="http://pkgconfig.freedesktop.org/releases/pkg-config-0.23.tar.gz" -PIXMAN="http://www.cairographics.org/releases/pixman-0.28.0.tar.gz" -CAIRO="http://cairographics.org/releases/cairo-1.12.8.tar.xz" +PKG_CONFIG="http://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz" +PIXMAN="http://www.cairographics.org/releases/pixman-0.32.4.tar.gz" +CAIRO="http://cairographics.org/releases/cairo-1.12.16.tar.xz" FREETYPE="http://download.savannah.gnu.org/releases/freetype/freetype-2.4.10.tar.gz" -LIBPNG="ftp://ftp.simplesystems.org/pub/libpng/png/src/libpng-1.5.13.tar.gz" +LIBPNG="http://downloads.sourceforge.net/project/libpng/libpng16/1.6.10/libpng-1.6.10.tar.gz" PREFIX=${1-/usr/local} require() {