If you mean to install Leap Motion on RPi (or any non x86/x64 processor), you won't be able to.
It's only possible to install Leap Motion drivers (Orion) in a x86/x64 system, but you then can connect vía websocket from the client (RPi or whatever), to the server (the x86/s64 where the Leap Motion is installed and connected), and get the json from there.