[packages] ruby: update to 1.9.1-p376, cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/packages@21562 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
2bf48fb9c0
commit
fef6f4bbf7
@ -1,10 +1,9 @@
|
||||
#
|
||||
# Copyright (C) 2006-2009 OpenWrt.org
|
||||
# Copyright (C) 2006-2010 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
# $Id$
|
||||
|
||||
#
|
||||
# To Do:
|
||||
@ -17,12 +16,12 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=ruby
|
||||
PKG_LIBVER:=1.9.1
|
||||
PKG_VERSION:=$(PKG_LIBVER)-p243
|
||||
PKG_VERSION:=$(PKG_LIBVER)-p376
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_SOURCE_URL:=ftp://ftp.ruby-lang.org/pub/ruby/1.9/
|
||||
PKG_MD5SUM:=66d4f8403d13623051091347764881a0
|
||||
PKG_MD5SUM:=ebb20550a11e7f1a2fbd6fdec2a3e0a3
|
||||
|
||||
PKG_BUILD_DEPENDS:=ruby/host
|
||||
|
||||
@ -215,6 +214,13 @@ MAKE_FLAGS += \
|
||||
SHELL="/bin/bash" \
|
||||
all install
|
||||
|
||||
define Build/Prepare
|
||||
$(call Build/Prepare/Default)
|
||||
( cd $(PKG_BUILD_DIR) ; \
|
||||
autoconf ; \
|
||||
)
|
||||
endef
|
||||
|
||||
define Package/ruby/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ruby $(1)/usr/bin/
|
||||
@ -451,14 +457,6 @@ define Build/InstallDev
|
||||
) | ( cd $(1); $(TAR) -xf - )
|
||||
endef
|
||||
|
||||
define Build/Prepare
|
||||
$(call Build/Prepare/Default)
|
||||
( cd $(PKG_BUILD_DIR) ; \
|
||||
autoconf ; \
|
||||
)
|
||||
endef
|
||||
|
||||
|
||||
$(eval $(call BuildPackage,ruby))
|
||||
$(eval $(call BuildPackage,libruby))
|
||||
$(eval $(call BuildPackage,ruby-core))
|
||||
|
Loading…
x
Reference in New Issue
Block a user