2006-01-23 21:21:02 +01:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# ruby
|
|
|
|
#
|
|
|
|
#############################################################
|
|
|
|
|
2013-02-23 07:43:38 +01:00
|
|
|
RUBY_VERSION = 1.9.3-p392
|
2010-11-04 20:09:32 +01:00
|
|
|
RUBY_SITE = ftp://ftp.ruby-lang.org/pub/ruby/1.9
|
2012-12-29 07:29:05 +01:00
|
|
|
RUBY_DEPENDENCIES = host-pkgconf host-ruby
|
|
|
|
HOST_RUBY_DEPENDENCIES = host-pkgconf
|
2010-11-04 20:09:32 +01:00
|
|
|
RUBY_MAKE_ENV = $(TARGET_MAKE_ENV)
|
2013-02-23 21:37:07 +01:00
|
|
|
RUBY_MAKE = $(MAKE1)
|
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
|
2012-12-29 07:29:05 +01:00
|
|
|
RUBY_LICENSE = Ruby
|
|
|
|
RUBY_LICENSE_FILES = LEGAL
|
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
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|
2012-07-03 00:06:54 +02:00
|
|
|
$(eval $(host-autotools-package))
|