The source code used and also build scripts are found in the respective main packages tree directory.