summaryrefslogtreecommitdiff
path: root/package/ruby/ruby.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/ruby/ruby.mk')
-rw-r--r--package/ruby/ruby.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/ruby/ruby.mk b/package/ruby/ruby.mk
index 7fef9a5a2..40f8e9376 100644
--- a/package/ruby/ruby.mk
+++ b/package/ruby/ruby.mk
@@ -3,9 +3,10 @@
# ruby
#
#############################################################
-RUBY_SOURCE:=ruby-1.8.2.tar.gz
+RUBY_VERSION:=1.8.2
+RUBY_SOURCE:=ruby-$(RUBY_VERSION).tar.gz
RUBY_SITE:=ftp://ftp.ruby-lang.org/pub/ruby/1.8
-RUBY_DIR:=$(BUILD_DIR)/ruby-1.8.2
+RUBY_DIR:=$(BUILD_DIR)/ruby-$(RUBY_VERSION)
RUBY_CAT:=$(ZCAT)
RUBY_BINARY:=ruby
RUBY_TARGET_BINARY:=usr/bin/ruby