2006-01-23 21:21:02 +01:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# ruby
|
|
|
|
#
|
|
|
|
#############################################################
|
|
|
|
|
2012-05-02 05:33:37 +02:00
|
|
|
RUBY_VERSION = 1.9.2-p320
|
2010-11-04 20:09:32 +01:00
|
|
|
RUBY_SITE = ftp://ftp.ruby-lang.org/pub/ruby/1.9
|
|
|
|
RUBY_AUTORECONF = YES
|
|
|
|
HOST_RUBY_AUTORECONF = YES
|
|
|
|
RUBY_DEPENDENCIES = host-ruby
|
2012-01-18 11:35:02 +01:00
|
|
|
HOST_RUBY_DEPENDENCIES =
|
2010-11-04 20:09:32 +01:00
|
|
|
RUBY_MAKE_ENV = $(TARGET_MAKE_ENV)
|
2011-11-25 12:35:11 +01:00
|
|
|
RUBY_CONF_OPT = --disable-install-doc --disable-rpath
|
2011-11-27 22:16:40 +01:00
|
|
|
HOST_RUBY_CONF_OPT = --disable-install-doc --with-out-ext=curses,readline
|
2011-02-01 20:14:00 +01:00
|
|
|
|
2010-11-04 20:09:32 +01:00
|
|
|
# Force optionals to build before we do
|
|
|
|
ifeq ($(BR2_PACKAGE_BERKELEYDB),y)
|
|
|
|
RUBY_DEPENDENCIES += berkeleydb
|
|
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_NCURSES),y)
|
|
|
|
RUBY_DEPENDENCIES += ncurses
|
|
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
|
|
RUBY_DEPENDENCIES += openssl
|
|
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_READLINE),y)
|
|
|
|
RUBY_DEPENDENCIES += readline
|
|
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
|
|
|
RUBY_DEPENDENCIES += zlib
|
|
|
|
endif
|
|
|
|
|
2011-09-29 21:57:43 +02:00
|
|
|
$(eval $(call AUTOTARGETS))
|
|
|
|
$(eval $(call AUTOTARGETS,host))
|