|
@@ -16,7 +16,7 @@ include $(TOPDIR)/rules.mk
|
16
|
16
|
|
17
|
17
|
PKG_NAME:=ruby
|
18
|
18
|
PKG_VERSION:=2.1.2
|
19
|
|
-PKG_RELEASE:=3
|
|
19
|
+PKG_RELEASE:=4
|
20
|
20
|
|
21
|
21
|
PKG_LIBVER:=2.1
|
22
|
22
|
|
|
@@ -223,7 +223,13 @@ MAKE_FLAGS += \
|
223
|
223
|
|
224
|
224
|
define Package/ruby/install
|
225
|
225
|
$(INSTALL_DIR) $(1)/usr/bin
|
226
|
|
- $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ruby $(1)/usr/bin/
|
|
226
|
+ $(INSTALL_DIR) $(1)/usr/lib/ruby/$(PKG_LIBVER)
|
|
227
|
+ $(INSTALL_DIR) $(1)/usr/lib/ruby/vendor_ruby/$(PKG_LIBVER)
|
|
228
|
+ $(INSTALL_DIR) $(1)/usr/lib/ruby/site_ruby/$(PKG_LIBVER)
|
|
229
|
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ruby $(1)/usr/lib/ruby/ruby$(PKG_LIBVER)-bin
|
|
230
|
+ $(INSTALL_BIN) ./files/ruby $(1)/usr/bin/ruby
|
|
231
|
+ sed -i -e "s%@RUBY_LIBPATH@%/usr/lib/ruby/$(PKG_LIBVER)%" $(1)/usr/bin/ruby
|
|
232
|
+ sed -i -e "s%@RUBY_BINPATH@%/usr/lib/ruby/ruby$(PKG_LIBVER)-bin%" $(1)/usr/bin/ruby
|
227
|
233
|
endef
|
228
|
234
|
|
229
|
235
|
define Package/libruby/install
|