From 75e2de7923c78183102d8a746a509532d2336c0f Mon Sep 17 00:00:00 2001 From: James Broadhead Date: Sat, 12 Apr 2014 13:06:39 +0100 Subject: [PATCH] Add Gentoo build instructions --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e2aaf73..bc4e4f9 100644 --- a/README.md +++ b/README.md @@ -41,14 +41,14 @@ With cabal installed, cd to the ShellCheck source directory and: $ cabal update $ cabal install - + This will install ShellCheck to your ~/.cabal/bin directory. Add the directory to your PATH (for bash, add this to your ~/.bashrc file): export PATH=$HOME/.cabal/bin:$PATH -Verify that your PATH is set up correctly: +Verify that your PATH is set up correctly: $ which shellcheck ~/.cabal/bin/shellcheck @@ -68,6 +68,11 @@ On Ubuntu and similar, use: apt-get install ghc libghc-parsec3-dev libghc-json-dev \ libghc-regex-compat-dev libghc-quickcheck2-dev +On Gentoo: + emerge cabal cabal-install dev-haskell/parsec \ + dev-haskell/quickcheck dev-haskell/json \ + dev-haskell/regex-compat pandoc + To build and run the tests, cd to the shellcheck source directory and: $ make