Nation Terry Pratchett 2008
Finding himself alone on a desert island when everything and everyone he knows and loved has been washed away in a huge storm,
Mau is the last surviving member of his nation. He's also completely alone or so he thinks until he finds the ghost girl. She has no toes, wears strange lacy trousers like the grandfather bird and gives him a stick which can make fire.
Daphne, sole survivor of the wreck of the Sweet Judy, almost immediately regrets trying to shoot the native boy. Thank goodness the powder was wet and the gun only produced a spark.
She's certain her father, distant cousin of the Royal Family, will come and rescue her but it seems, for now, all she has for company is the boy and the foul-mouthed ship's parrot. As it happens, they are not alone for long.
Other survivors start to arrive to take refuge on the island they all call the Nation, and then raiders accompanied by murderous mutineers from the Sweet Judy. Together, Mau and Daphne discover some remarkable things including how to milk a pig and why spitting in beer is a good thing and start to forge a new Nation.