Class: DevBall::PkgSpec::Pecl
- Inherits:
-
Base
- Object
- Base
- DevBall::PkgSpec::Pecl
show all
- Defined in:
- lib/devball/pkgspec/pecl.rb
Instance Method Summary
collapse
Methods inherited from Base
#ball, #ball_file_name, #ball_name, #ball_version, #build_concurrent?, #build_dir_name, #build_targets, #configure_params, #configure_script_name, #depends_on, depends_on, find, #install_links, #install_service_links, #install_targets, #link_mappings, load_packages, #package_install_dir, #package_name, #recursive_depends_on, register_package, #remove_build, #remove_install, set_ball, set_lib_ball, set_patch, #step_environment_setup, #step_patch, #step_setup_links, #to_s
Instance Method Details
#step_build ⇒ Object
13
14
15
|
# File 'lib/devball/pkgspec/pecl.rb', line 13
def step_build()
end
|
9
10
11
|
# File 'lib/devball/pkgspec/pecl.rb', line 9
def step_configure()
end
|
6
7
|
# File 'lib/devball/pkgspec/pecl.rb', line 6
def ()
end
|
#step_install ⇒ Object
17
18
19
20
21
22
23
24
25
26
27
|
# File 'lib/devball/pkgspec/pecl.rb', line 17
def step_install()
Dir.chdir($package_dir) {|dir|
if(!system("pecl", "install", ball()))
raise(InstallFailed, "Could not install pecl package: #{$?}")
end
if(!system("pecl", "list-files", "apc")) raise(InstallFailed, "Could not install pecl package: #{$?}")
end
}
return ["Php"]
end
|
#step_uninstall ⇒ Object
29
30
31
32
|
# File 'lib/devball/pkgspec/pecl.rb', line 29
def step_uninstall()
system("pecl", "uninstall", ball())
super()
end
|