NAME

Rex::Apache::Build::deb - Build deb packages

DESCRIPTION

With this module you can build Debian packages to distribute your application.

SYNOPSIS

build "my-software",
  type   => "deb",
  version => "1.0",
  source  => "/path/to/your/software",
  path   => "/path/to/deploy/target",
  # below this, it is all optional
  description   => "some description of your package",
  url        => "website of the package",
  depends      => [qw/apache2 perl/],
  release      => 1,
  epoch       => 1,
  vendor      => "some vendor",
  license      => "your license for ex. GPL2",
  section      => "some/section",
  conflicts    => [qw/somepkg/],
  provides     => "some-package-name",
  arch        => "amd64",
  target      => "linux / the platform",
  post_install  => "filename or script to run after installation",
  pre_install   => "filename or script to run before installation",
  post_uninstall => "filename or script to run after uninstall",
  pre_uninstall  => "filename or script to run before uninstall",
  exclude      => [qw/file1 file2/],
  maintainer    => "your name",
  priority     => "optional",
  config_files  => [qw/special files for configuration mostly for etc directory/];