blob: 9c9d66e2602b1d226c868ec35d6153d30da4da70 (
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}/ruby setup.rb config || \
oefatal "ruby setup.rb config stage failed."
}
rubyextension_do_compile() {
${STAGING_BINDIR}/ruby setup.rb setup || \
oefatal "ruby setup.rb setup stage failed."
}
rubyextension_do_install() {
${STAGING_BINDIR}/ruby setup.rb install || \
oefatal "ruby setup.rb install stage failed."
}
EXPORT_FUNCTIONS do_configure do_compile do_install
|