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 program send by executing make. It uses wiringPi pin no 2 by default. You may want to change the used GPIO pin before compilation of the codesend.cpp source file. (Good Resource for Pin Details https://pinout.xyz/pinout/wiringpi)
The 'RF_Sniffer' code is as yet untested. It should work, but it is still being tested thoroughly. It's provided to allow you to start playing with it now.