[packages] Move libtiff c++ bindings into it's own package
[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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=coreutils
11 PKG_VERSION:=7.2
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@GNU/coreutils
16 PKG_MD5SUM:=427c2914d3eab956f317c9ec6a45e62a
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/coreutils
21   SECTION:=utils
22   CATEGORY:=Utilities
23   TITLE:=The GNU core utilities
24   URL:=http://www.gnu.org/software/coreutils/
25 endef
26         
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.
31 endef
32
33 CONFIGURE_ARGS += \
34         --enable-install-program=su
35
36 define Build/Compile
37         $(MAKE) -C $(PKG_BUILD_DIR) \
38                 DESTDIR="$(PKG_INSTALL_DIR)" \
39                 SHELL="/bin/bash" \
40                 all install install-root
41 endef
42
43 define Package/coreutils/install
44         $(INSTALL_DIR) $(1)/usr/bin
45         $(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
46 endef
47
48 $(eval $(call BuildPackage,coreutils))