Class FPM::Package::OSXpkg
In: lib/fpm/package/osxpkg.rb
lib/fpm/package/osxpkg.rb
Parent: FPM::Package

Use an OS X pkg built with pkgbuild.

Supports input and output. Requires pkgbuild and (for input) pkgutil, part of a standard OS X install in 10.7 and higher.

Methods

identifier   identifier   input   input   output   output   to_s   to_s  

Constants

SCRIPT_MAP = { :before_install => "preinstall", :after_install => "postinstall", } unless defined?(SCRIPT_MAP)   Map of what scripts are named.
POSTINSTALL_ACTIONS = [ "logout", "restart", "shutdown" ]
OWNERSHIP_OPTIONS = ["recommended", "preserve", "preserve-other"]
SCRIPT_MAP = { :before_install => "preinstall", :after_install => "postinstall", } unless defined?(SCRIPT_MAP)   Map of what scripts are named.
POSTINSTALL_ACTIONS = [ "logout", "restart", "shutdown" ]
OWNERSHIP_OPTIONS = ["recommended", "preserve", "preserve-other"]

Public Instance methods

return the identifier by prepending the reverse-domain prefix to the package name, else return just the name

return the identifier by prepending the reverse-domain prefix to the package name, else return just the name

Take a flat package as input

Take a flat package as input

Output a pkgbuild pkg.

Output a pkgbuild pkg.

[Validate]