add dependencies to .packages file