The build script used in the tutorial is a part of the Globus Service Build Tools project. The GSBT website includes information on how you can use the build script for your own projects. Also, you can run
./globus-build-service.sh -h
to see all the different options supported by the script.