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.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=@GNU
/coreutils
16 PKG_MD5SUM
:=427c2914d3eab956f317c9ec6a45e62a
18 include $(INCLUDE_DIR
)/package.mk
20 define Package
/coreutils
23 TITLE
:=The GNU core utilities
24 URL
:=http
://www.gnu.org
/software
/coreutils
/
27 define Package
/coreutils
/description
28 Full versions of standard GNU utilities. Normally
, you would not
29 use this package
, since the functionality in BusyBox is more than
30 sufficient and much smaller.
34 --enable-install-program
=su
37 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
38 DESTDIR
="$(PKG_INSTALL_DIR)" \
40 all install install-root
43 define Package
/coreutils
/install
44 $(INSTALL_DIR
) $(1)/usr
/bin
45 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/* $(1)/usr
/bin
/
48 $(eval
$(call BuildPackage
,coreutils
))