syck was replaced by psych in yaml. (ref:
https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/36786)
Also add ruby-psych to ruby-yaml deps
Signed-off-by: Luiz Angelo Daros de Luca <redacted>
PKG_NAME:=ruby
PKG_VERSION:=2.1.2
-PKG_RELEASE:=8
+PKG_RELEASE:=9
PKG_LIBVER:=2.1
define Package/ruby-yaml
$(call Package/ruby/Default)
TITLE:=Ruby YAML toolkit
- DEPENDS:=ruby
+ DEPENDS:=ruby +ruby-psych
endef
define Package/ruby-zlib
\
$(1)/usr/lib/ruby/$(PKG_LIBVER)/yaml \
$(1)/usr/lib/ruby/$(PKG_LIBVER)/yaml.rb \
- $(1)/usr/lib/ruby/$(PKG_LIBVER)/*/syck.so \
find $(1) -name '*.h' | xargs rm -f
endef
( cd $(PKG_INSTALL_DIR); $(TAR) -cf - \
usr/lib/ruby/$(PKG_LIBVER)/yaml \
usr/lib/ruby/$(PKG_LIBVER)/yaml.rb \
- usr/lib/ruby/$(PKG_LIBVER)/*/syck.so \
) | ( cd $(1); $(TAR) -xf - )
endef