from https://github.com/technomancy/leiningen
Something like :berkelium-home “<path-to-berkelium>” inside the project.clj
NOTE: Berkelium must already have been compiled using the instructions from https://github.com/sirikata/berkelium You can check whether that worked, by checking whether there exists a liblibberkelium.so inside the root dir. If you have a liblibberkelium_d.so, then you have compiled the berkelium debug version, which we won’t use, so recompile in release mode to get the release lib.
./run
This should produce all necessary libs inside the berkelium-clj-native/src/main/resource folder.
cd into berkelium-clj-native/ run “lein jar”
this will create a jar archive inside the target folder with the libs contained within.
Copy the berkelium executable (inside the berkelium folder) and all necessary libs
- for texture-from-page