packager.sh: deps_list function specialized for different target (depend, deprec, build or all)