Add coreutils 6.9 from #1753
[packages.git] / utils / coreutils / Makefile
1 #
2 # Copyright (C) 2008 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id: $
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=coreutils
12 PKG_VERSION:=6.9
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_URL:=http://ftp.gnu.org/gnu/coreutils/
17 PKG_MD5SUM:=c9607d8495f16e98906e7ed2d9751a06
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/coreutils
22   SECTION:=utils
23   CATEGORY:=Utilities
24   TITLE:=The GNU core utilities
25   URL:=http://www.gnu.org/software/coreutils/
26 endef
27         
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.
32 endef
33
34 define Build/Compile
35         $(MAKE) -C $(PKG_BUILD_DIR) \
36                 DESTDIR="$(PKG_INSTALL_DIR)" \
37                 SHELL="/bin/bash" \
38                 all install
39 endef
40
41 define Package/coreutils/install
42         $(INSTALL_DIR) $(1)/usr/bin
43         $(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
44 endef
45
46 $(eval $(call BuildPackage,coreutils))