From: nico Date: Mon, 24 May 2010 17:33:10 +0000 (+0000) Subject: [packages] ruby: add /usr/bin/gem binary to ruby-gems (closes: #7358) X-Git-Url: http://git.archive.openwrt.org/?a=commitdiff_plain;h=ae8cce06d6e74f5f13ddc4046041c686809d3418;p=packages.git [packages] ruby: add /usr/bin/gem binary to ruby-gems (closes: #7358) git-svn-id: svn://svn.openwrt.org/openwrt/packages@21565 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/lang/ruby/Makefile b/lang/ruby/Makefile index ec0d9d9f3..6829fe84e 100644 --- a/lang/ruby/Makefile +++ b/lang/ruby/Makefile @@ -17,7 +17,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ruby PKG_LIBVER:=1.9.1 PKG_VERSION:=$(PKG_LIBVER)-p376 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=ftp://ftp.ruby-lang.org/pub/ruby/1.9/ @@ -334,6 +334,8 @@ define Package/ruby-gdbm/install endef define Package/ruby-gems/install + $(INSTALL_DIR) $(1)/usr/bin + $(CP) $(PKG_INSTALL_DIR)/usr/bin/gem $(1)/usr/bin/ $(INSTALL_DIR) $(1)/usr/lib/ruby/$(PKG_LIBVER) $(CP) $(PKG_INSTALL_DIR)/usr/lib/ruby/$(PKG_LIBVER)/rubygems.rb $(1)/usr/lib/ruby/$(PKG_LIBVER)/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/ruby/$(PKG_LIBVER)/rubygems $(1)/usr/lib/ruby/$(PKG_LIBVER)/