rcswitch-pi is for controlling rc remote controlled power sockets with the raspberry pi. Kudos to the projects rc-switch and wiringpi. I just adapted the rc-switch code to use the wiringpi library instead of the library provided by the arduino.
First you have to install the wiringpi library. After that you can compile the example programs send, sendRev, sendTriState and sendRevBHC by executing make. You may want to change the used GPIO pin before compilation in the send.cpp source file.