Class: FPM::Cookery::Package::CPAN
- Inherits:
-
Package
- Object
- Package
- FPM::Cookery::Package::CPAN
show all
- Defined in:
- lib/fpm/cookery/package/cpan.rb
Instance Attribute Summary
Attributes inherited from Package
#config, #fpm, #recipe
Instance Method Summary
collapse
Methods inherited from Package
#add_script, #cleanup, #convert, #epoch=, #initialize, #maintainer=, #vendor=, #version=
Instance Method Details
#fpm_object ⇒ Object
8
9
10
|
# File 'lib/fpm/cookery/package/cpan.rb', line 8
def fpm_object
FPM::Package::CPAN.new
end
|
17
18
19
|
# File 'lib/fpm/cookery/package/cpan.rb', line 17
def package_input
fpm.input(recipe.name)
end
|
#package_setup ⇒ Object
12
13
14
15
|
# File 'lib/fpm/cookery/package/cpan.rb', line 12
def package_setup
fpm.version = recipe.version
end
|