florian 12e498eed5 Add coreutils 6.9 from #1753
git-svn-id: svn://svn.openwrt.org/openwrt/packages@13153 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-09 16:52:37 +00:00

47 lines
1.0 KiB
Makefile

#
# Copyright (C) 2008 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id: $
include $(TOPDIR)/rules.mk
PKG_NAME:=coreutils
PKG_VERSION:=6.9
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://ftp.gnu.org/gnu/coreutils/
PKG_MD5SUM:=c9607d8495f16e98906e7ed2d9751a06
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
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \
SHELL="/bin/bash" \
all install
endef
define Package/coreutils/install
$(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
endef
$(eval $(call BuildPackage,coreutils))