To build a Debian package of GLAM, you will want to perform the following steps after downloading the source archive:
dpkg-source -x glam_<version>.dsc
cd glam-<version>
autoreconf
dpkg-buildpackage -us -uc -rfakeroot
The rest of the build process is automated and will create Debian packages that will be placed above the glam-<version> directory. You may install these Debian packages using the dpkg -i <packagename> command.
For more information on building Debian packages, please visit the Debian's New Package Maintainers Guide.