2 # Copyright (C) 2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR)/rules.mk
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=http://ftp.gnu.org/gnu/coreutils/
17 PKG_MD5SUM:=427c2914d3eab956f317c9ec6a45e62a
19 include $(INCLUDE_DIR)/package.mk
21 define Package/coreutils
24 TITLE:=The GNU core utilities
25 URL:=http://www.gnu.org/software/coreutils/
28 define Package/coreutils/description
29 Full versions of standard GNU utilities. Normally, you would not
30 use this package, since the functionality in BusyBox is more than
31 sufficient and much smaller.
35 --enable-install-program=su
38 $(MAKE) -C $(PKG_BUILD_DIR) \
39 DESTDIR="$(PKG_INSTALL_DIR)" \
41 all install install-root
44 define Package/coreutils/install
45 $(INSTALL_DIR) $(1)/usr/bin
46 $(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
49 $(eval $(call BuildPackage,coreutils))