mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-25 14:33:29 +08:00
8bd4231599
ruby is converted to the autotools infrastructure, and the dependency on host-ruby is added since a ruby interpreter is needed to build a ruby interpreter. Fortunately, this is taken into account in the ruby build process, and it first start to build a mini-interpreter that is used to build the rest. However, this doesn't take the cross-compilation case into account, so we have to build ruby for the host. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
18 lines
511 B
Makefile
18 lines
511 B
Makefile
#############################################################
|
|
#
|
|
# ruby
|
|
#
|
|
#############################################################
|
|
RUBY_VERSION:=1.9.1-p129
|
|
RUBY_SOURCE:=ruby-$(RUBY_VERSION).tar.gz
|
|
RUBY_SITE:=ftp://ftp.ruby-lang.org/pub/ruby/1.9
|
|
RUBY_AUTORECONF=YES
|
|
RUBY_DEPENDENCIES=host-ruby
|
|
RUBY_INSTALL_TARGET_OPT=DESTDIR=$(TARGET_DIR) install
|
|
RUBY_MAKE_ENV=$(TARGET_MAKE_ENV)
|
|
|
|
RUBY_CONF_OPT = --disable-install-doc
|
|
|
|
$(eval $(call AUTOTARGETS,package,ruby))
|
|
$(eval $(call AUTOTARGETS,package,ruby,host))
|