blob: 628ebdb7c72d8210ddc0d8012cd33bfe239245f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
DEPENDS += "ruby-native"
RDEPENDS += "ruby"
rubyextension_do_configure() {
${STAGING_BINDIR_NATIVE}/ruby setup.rb config || \
oefatal "ruby setup.rb config stage failed."
}
rubyextension_do_compile() {
${STAGING_BINDIR_NATIVE}/ruby setup.rb setup || \
oefatal "ruby setup.rb setup stage failed."
}
rubyextension_do_install() {
${STAGING_BINDIR_NATIVE}/ruby setup.rb install || \
oefatal "ruby setup.rb install stage failed."
}
EXPORT_FUNCTIONS do_configure do_compile do_install
|