fork from TheSLinux buildsystem