ccanlint: make a license enum, and parse the license string to set it.