build dependency file and package