summaryrefslogtreecommitdiff
path: root/package/coreutils/Makefile
blob: 70a8f318027633c7e68f68c024e912e0a0964aed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(TOPDIR)/rules.mk

PKG_NAME:=		coreutils
PKG_VERSION:=		8.5
PKG_RELEASE:=		1
PKG_MD5SUM:=		c1ffe586d001e87d66cd80c4536ee823
PKG_DESCR:=		basic file, shell and text manipulation utilities
PKG_SECTION:=		base
PKG_URL:=		http://www.gnu.org/software/coreutils/
PKG_SITES:=		http://ftp.gnu.org/gnu/coreutils/

PKG_DESCR_TSORT:=	topological sort utility

include $(TOPDIR)/mk/package.mk

#$(eval $(call PKG_template,COREUTILS,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,TSORT,tsort,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_TSORT},${PKG_SECTION}))

post-install:
	$(INSTALL_DIR) $(IDIR_TSORT)/usr/bin
	$(INSTALL_BIN) $(WRKINST)/usr/bin/tsort \
		$(IDIR_TSORT)/usr/bin

include ${TOPDIR}/mk/pkg-bottom.mk