You will need gcc:4.8 installed; as of writing this is keyword masked, so unless you are already running ~, you'll need to add sys-devel/gcc:4.8 ~amd64
to your package.keywords. Note that you do not need it to be the default gcc, as clasp allows specifying gcc and g++ executables
Other than that, see the other files in this gist for the config.
- Checkout clasp-externals and clasp
- Copy clasp-externals.local.config from this gist to clasp-externals/local.config
- Copy clasp.local.config from this gist to clasp/local.config
cd clasp-externals
make
- If make fails, run it again. If it fails a third time, talk to jasom in #clasp on freenode
cd ../clasp
make
- If make fails, run it again. If it fails a third time, talk to jasom in #clasp on freenode
- You should now have clasp executables in ~/local/clasp/bin