The governing body of such other municipality may, by resolution, enter into contract as provided in this act and all sums of money paid under such contract shall be appropriated and used for library purposes in accordance with the terms of said contract.
N.J.S. § 40:33-13.2