2008-11-09 16:52:37 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2008 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=coreutils
|
2009-04-04 13:08:10 +00:00
|
|
|
PKG_VERSION:=7.2
|
2008-11-09 16:52:37 +00:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
2009-04-04 13:08:10 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
2009-06-13 17:01:55 +00:00
|
|
|
PKG_SOURCE_URL:=@GNU/coreutils
|
2009-04-04 13:08:10 +00:00
|
|
|
PKG_MD5SUM:=427c2914d3eab956f317c9ec6a45e62a
|
2008-11-09 16:52:37 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/coreutils
|
|
|
|
SECTION:=utils
|
|
|
|
CATEGORY:=Utilities
|
|
|
|
TITLE:=The GNU core utilities
|
|
|
|
URL:=http://www.gnu.org/software/coreutils/
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/coreutils/description
|
|
|
|
Full versions of standard GNU utilities. Normally, you would not
|
|
|
|
use this package, since the functionality in BusyBox is more than
|
|
|
|
sufficient and much smaller.
|
|
|
|
endef
|
|
|
|
|
2009-04-04 13:08:10 +00:00
|
|
|
CONFIGURE_ARGS += \
|
|
|
|
--enable-install-program=su
|
|
|
|
|
2008-11-09 16:52:37 +00:00
|
|
|
define Build/Compile
|
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
|
|
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
|
|
|
SHELL="/bin/bash" \
|
2009-04-04 13:08:10 +00:00
|
|
|
all install install-root
|
2008-11-09 16:52:37 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/coreutils/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,coreutils))
|