spf_url home  'http://www.daniel-baumann.ch/software/dosfstools/' &&
spf_url watch 'http://www.daniel-baumann.ch/software/dosfstools/' &&
case ${spf_version?} in
  2.*)
    spf_url src \
      "ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/dosfstools-${spf_version?}.src.tar.gz";;
  *)
    spf_url src \
      "http://www.daniel-baumann.ch/software/dosfstools/dosfstools-${spf_version?}.tar.bz2";;
esac &&
spf_cc_ cpp_args &&
spf_cc_ cc_args '-O2 -fomit-frame-pointer -D_FILE_OFFSET_BITS=64' &&
spf_cc_ ld_args &&
spf_cc_ make_args &&
spf_do_install() {
  set PREFIX="${spf_path_prefix?}" \
    OPTFLAGS="${spf_args_cpp?} ${spf_args_cc?}" \
    LDFLAGS="${spf_args_cc?} ${spf_args_ld?}" &&
  eval 'make "$@" '"${spf_args_make?} all install"
} &&
spf_no_check && ## there are no tests
spf_tested_version 3.0.11 &&
spf_tested_version 3.0.10 &&
spf_tested_version 3.0.9 &&
spf_tested_version 2.11

