class MinimalExample < FPM::Cookery::Recipe
  homepage 'https://gist.github.com/skiold/6112283'

  section 'Utilities'
  name 'minimal-example'
  version '3.2.2'
  description 'fail fast example'
  revision 0
  vendor 'fpm'
  maintainer '<adrians@aptivate.org>'
  license 'Apache 2.0 License'

  source '', :with => :noop

  omnibus_package true
  omnibus_dir     "/opt/#{name}"

  config_files '/etc/hosts'

  omnibus_additional_paths config_files

  def build
    # Nothing
  end

  def install
    # Set paths to package scripts
    self.class.post_install builddir('post-install')
    self.class.pre_uninstall builddir('pre-uninstall')
  end

end