Spelling fix, comments explaining script.

R=mtklein@google.com

Author: halcanary@google.com

Review URL: https://codereview.chromium.org/261913006

git-svn-id: http://skia.googlecode.com/svn/trunk@14565 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tools/install_dependencies.sh b/tools/install_dependencies.sh
new file mode 100755
index 0000000..8d75c98
--- /dev/null
+++ b/tools/install_dependencies.sh
@@ -0,0 +1,33 @@
+#!/bin/sh
+# Copyright 2014 Google Inc.
+#
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# install_dependencies.sh will install system-specific Skia
+# dependencies using your system's package manager.  If your system is
+# not supported, add logic here to support it.
+
+if command -v lsb_release > /dev/null ; then
+    case $(lsb_release -i -s) in
+        Ubuntu)
+            sudo apt-get install \
+                build-essential \
+		libfreetype6-dev \
+		libfontconfig-dev \
+		libpng12-dev \
+		libgif-dev \
+		libqt4-dev \
+		clang
+	    if [ $(lsb_release -r -s) = '14.04' ] ; then
+		sudo apt-get install \
+		    ninja-build
+	    fi
+            exit
+            ;;
+    esac
+fi
+
+echo 'unknown system'
+exit 1
+