Browse Source

lib/functions.in: first attempt to handle the different ways for ruby packages

user/chris/old/ruby
Christian Wiese 15 years ago
committed by Christian Wiese
parent
commit
8c4bc2ff01
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      lib/functions.in

+ 10
- 0
lib/functions.in

@ -932,6 +932,16 @@ build_this_package() {
pyconfopt="${pyconfopt:=--prefix $root/$prefix}"
hook_eval premake
eval ${pyscript:-python} setup.py build install $pyconfopt
hook_eval postmake
elif [ -f install.rb ] ; then
hook_eval premake
${rubyscript:-ruby} install.rb
hook_eval postmake
elif [ -f Rakefile ] ; then
hook_eval premake
eval rake package
hook_eval postmake
else # styles that include a make run
if [ ! -f Makefile -a ! -f makefile -a \

Loading…
Cancel
Save