The court to which such application may be made, shall proceed in a summary way to hear the proofs and allegations of the parties, and shall order such of the relatives aforesaid of such poor person, as appear to be of sufficient ability and as appear to owe a duty of support under this act, to relieve and maintain such poor person, and shall therein specify the sum which will be sufficient for the support of such poor person, and how it is to be paid.