spf_template code.dogmap.org:sourceforge &&
spf_template_sourceforge_version "_${spf_version?}" &&
spf_template_sourceforge_src_archive "_src_all.tar." &&
#spf_cc_ cpp_args &&
spf_cc_ cc_args &&
spf_cc_ cxx_args &&
#spf_cc_ ld_args &&
spf_cc_ make_args &&
spf_srcdir p7zip_"${spf_version?}" &&
spf_do_install() {
  prj_sedfile makefile.glb 's/^\(.*FLAGS\)=/override \1\+=/' &&
  set DEST_HOME="${spf_path_prefix?}" \
      CFLAGS="${spf_args_cc?}" \
      CXXFLAGS="${spf_args_cxx?}" &&
  eval 'make "$@" '"${spf_args_make?} all install"
} &&
spf_do_check() {
  make test
} &&
spf_tested_version 9.13 &&
spf_tested_version 4.65

