spf_url home  'http://untroubled.org/bglibs/' &&
spf_url watch 'http://untroubled.org/bglibs/archive/' &&
spf_url src \
  "http://untroubled.org/bglibs/archive/bglibs-${spf_version?}.tar.gz" &&
spf_depend libtool flags none &&
spf_cc_ cpp_args &&
spf_cc_ cc_args '-W -Wall -Wshadow -Os -g' &&
spf_cc_ ld_args &&
spf_cc_ make_args &&
spf_do_install() {
  spf_edit_1c conf-cc "gcc ${spf_args_cpp?} ${spf_args_cc?}" &&
  spf_edit_1c conf-ld "gcc ${spf_args_cpp?} ${spf_args_cc?} ${spf_args_ld?}" &&
  spf_edit_1c conf-bin     "${spf_path_prefix?}/bin" &&
  spf_edit_1c conf-include "${spf_path_prefix?}/include" &&
  spf_edit_1c conf-lib     "${spf_path_prefix?}/lib" &&
  if test 1.027 = "${spf_version?}"
    then :
    else spf_edit_1c conf-man "${spf_path_prefix?}/man"
  fi &&
  pkg_make="make ${spf_args_make?} all install" &&
  if test 1.101 = "${spf_version?}"
    then pkg_make="${pkg_make?} 3>&- 4>&-"
    else :
  fi &&
  eval "${pkg_make?}"
  ####cur_link_ /usr/local
} &&
spf_no_check &&
spf_tested_version 1.106 &&
spf_tested_version 1.104 &&
spf_tested_version 1.102 &&
spf_tested_version 1.101 &&
spf_tested_version 1.027

