Shrek might find a home in the swamps of northern New Jersey.

The Hollywood studio that created the green ogre and the wisecracking zoo animals of “Madagascar” said Wednesday it had agreed to license its characters, storytelling and technology for a theme park at a long-stalled and vacant megamall in the Meadowlands.

DreamWorks Animation CEO Jeffrey Katzenberg, in a joint statement with the mall developer, said the indoor theme park 10 miles west of New York City would create “a unique and innovative family entertainment experience,” but he provided no other details.

DreamWorks would license the rights to its characters and technology but would not operate or invest in the project at the American Dream mall in East Rutherford.