This modified version of WiringPi is for Roseapple Pi SBC. It is based on the original WiringPi for Raspberry Pi created by Drogon and WiringLMK by Lemaker team.
git clone https://github.com/xapp-le/WiringRaPi.git
cd WiringRaPi
chmod +x ./build
sudo ./build
To check the pins definitions of Roseapple Pi, visit: http://wiki.linux-xapple.org/w/index.php/GPIO
You can also use the examples and instructions provided by http://wiringpi.com/
You will find more demos under the ./examples directory.