Hairspray is a 1988 comedy film written and directed by John Waters , and starring Ricki Lake , Sonny Bono , Debbie Harry , Michael St. Gerard , Shawn Thompson , Colleen Fitzpatrick , Jerry Stiller , and in his last film role, Divine .