NAME
Alien::fpm - Find or install fpm
SYNOPSIS
use Alien::fpm;
use Env qw( @PATH @GEM_PATH );
unshift @PATH, Alien::fpm->bin_dir;
unshift @GEM_PATH, Alien::fpm->fpm_gem_home;
system('fpm --verbose -s cpan -t rpm Fennec');
DESCRIPTION
This package can be used by other Perl modules that require fpm.
On a share install, by default, fpm is installed from RubyGems.org. Set ALIEN_FPM_GIT_URL to install from a git repository instead.
ENVIRONMENT VARIABLES
ALIEN_FPM_VERSION-
When set, requires the specified version of fpm. On the gem path, this passes
-v VERSIONtogem fetch. On the git path, this derives the git tagvVERSIONas the branch unlessALIEN_FPM_GIT_BRANCHis explicitly set. ALIEN_FPM_GIT_URL-
When set, fpm will be installed from a git repository instead of from RubyGems.org. The value should be a URL that
git cloneaccepts. ALIEN_FPM_GIT_BRANCH-
When set alongside
ALIEN_FPM_GIT_URL, the specified branch or tag will be checked out. If not set, the repository's default branch is used.
SEE ALSO
- Alien
-
Documentation on the Alien concept itself.
- Alien::Base
-
The base class for this Alien.
- Alien::Build::Manual::AlienUser
-
Detailed manual for users of Alien classes.
AUTHOR
Nicholas Hubbard <nicholashubbard@posteo.net>
CONTRIBUTORS
Zakariyya Mughal