Bill Clinton partied with rock stars including Bruce SpringsteenPaul McCartneyJon Bon JoviJohn Mellencamp and Pink Floyd’s Roger Waters in the Hamptons Friday night while wife Hillary Clinton sat home baby-sitting their granddaughter.

Spies told Page Six that Clinton was the first guest at an after-party hosted by Jimmy Buffett at the Blue Parrot in East Hampton for the Bill MurrayBruce Willis movie “Rock the Kasbah.”

“Clinton . . . held court at the bar,” said a spy. “He said he’d had to pick up Hillary coming back from a three-day campaign trip, but that she went home to baby-sit their granddaughter.”

Hillary had three Hamptons fund-raisers Sunday.Chelsea Clinton was spotted Friday night at the Palm with husband Marc Mezvinsky while her mom took care of their daughter, Charlotte.

When Waters arrived, he was the first rocker to bond with Clinton, inviting the ex-president to play golf with him at Shinnecock Hills Golf Club and the National Golf Links. Spies said they exchanged details and Waters also asked Clinton to come to a premiere of his concert film “The Wall.”

Springsteen — in town for a party the night before for his equestrian daughter, Jessica— arrived with Jann Wenner and McCartney.

In “Kasbah,” Murray plays a rock-tour manager stranded in Afghanistan who discovers a local talent. He based his role in part on promoter legend Ron Delsener. A source said Delsener’s seen the portrayal and “loved it.”

“I’ve never been a real desert guy,” Murray joked of filming in extreme heat in Morocco for director Barry Levinson and writer Mitch Glazer. Murray jetted to the Hamptons from Martha’s Vineyard and said he’d just shot a cameo in the new “Ghostbusters” film in Boston. Even VIPs and Clinton’s team were seen taking multiple T-shirts featuring Murray’s smiling mug as swag. Levinson told pals he’ll start shooting “The Wizard of Lies” on Monday, starring Robert De Niro as Bernie Madoff.

Also at the Open Road Films bash put together by Peggy Siegal were Willis and wife Emma, Christie Brinkley and Rudy Giuliani.

This article originally appeared in the New York Post.

MTV VMA Awards' biggest scandals and shockers