What is the meaning of Shanty?

A roughly-built hut or cabin.

A rudimentary or improvised dwelling, especially one not legally owned.

An unlicensed pub.

Living in shanties; poor, ill-mannered and violent.

To inhabit a shanty.

A song sailors sing, especially in rhythm to work, to help coordinate hauling (pulling) at the same time, or to set the pace for continuous activities.

Jaunty; showy.

a shanty, a sailing song

Source: wiktionary.org