|
@@ -5,43 +5,27 @@ include $(TOPDIR)/rules.mk
|
|
|
|
|
|
PKG_NAME:= coreutils
|
|
PKG_NAME:= coreutils
|
|
PKG_VERSION:= 8.22
|
|
PKG_VERSION:= 8.22
|
|
-PKG_RELEASE:= 2
|
|
+PKG_RELEASE:= 3
|
|
PKG_MD5SUM:= 8fb0ae2267aa6e728958adc38f8163a2
|
|
PKG_MD5SUM:= 8fb0ae2267aa6e728958adc38f8163a2
|
|
PKG_DESCR:= basic file, shell and text manipulation utilities (also provided by busybox)
|
|
PKG_DESCR:= basic file, shell and text manipulation utilities (also provided by busybox)
|
|
PKG_SECTION:= core
|
|
PKG_SECTION:= core
|
|
PKG_BUILDDEP:= gmp autotool
|
|
PKG_BUILDDEP:= gmp autotool
|
|
PKG_URL:= http://www.gnu.org/software/coreutils/
|
|
PKG_URL:= http://www.gnu.org/software/coreutils/
|
|
PKG_SITES:= http://ftp.gnu.org/gnu/coreutils/
|
|
PKG_SITES:= http://ftp.gnu.org/gnu/coreutils/
|
|
-PKG_MULTI:= 1
|
|
|
|
-
|
|
|
|
-PKG_SUBPKGS:= COREUTILS TSORT SHA256SUM TOUCH
|
|
|
|
-PKGSD_TSORT:= topological sort utility
|
|
|
|
-PKGSD_SHA256SUM:= SHA1 256 bit checksum utility
|
|
|
|
-PKGSD_TOUCH:= touch utility
|
|
|
|
|
|
|
|
include $(TOPDIR)/mk/package.mk
|
|
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,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},${PKGSD_TSORT},${PKG_SECTION}))
|
|
|
|
-$(eval $(call PKG_template,TOUCH,touch,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_TOUCH},${PKG_SECTION}))
|
|
|
|
-$(eval $(call PKG_template,SHA256SUM,sha256sum,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_SHA256SUM},${PKG_SECTION}))
|
|
|
|
|
|
|
|
AUTOTOOL_STYLE:= autoreconf
|
|
AUTOTOOL_STYLE:= autoreconf
|
|
CONFIGURE_ARGS+= --disable-rpath
|
|
CONFIGURE_ARGS+= --disable-rpath
|
|
|
|
|
|
-touch-install:
|
|
+coreutils-install:
|
|
- $(INSTALL_DIR) $(IDIR_TOUCH)/usr/bin
|
|
+ $(INSTALL_DIR) $(IDIR_COREUTILS)/usr/bin
|
|
- $(INSTALL_BIN) $(WRKINST)/usr/bin/touch \
|
|
+ $(CP) $(WRKINST)/usr/bin/* \
|
|
- $(IDIR_TOUCH)/usr/bin
|
|
+ $(IDIR_COREUTILS)/usr/bin
|
|
-
|
|
+ $(INSTALL_DIR) $(IDIR_COREUTILS)/usr/libexec
|
|
-tsort-install:
|
|
+ $(CP) $(WRKINST)/usr/libexec/* \
|
|
- $(INSTALL_DIR) $(IDIR_TSORT)/usr/bin
|
|
+ $(IDIR_COREUTILS)/usr/sbin
|
|
- $(INSTALL_BIN) $(WRKINST)/usr/bin/tsort \
|
|
|
|
- $(IDIR_TSORT)/usr/bin
|
|
|
|
-
|
|
|
|
-sha256sum-install:
|
|
|
|
- $(INSTALL_DIR) $(IDIR_SHA256SUM)/usr/bin
|
|
|
|
- $(INSTALL_BIN) $(WRKINST)/usr/bin/sha256sum \
|
|
|
|
- $(IDIR_SHA256SUM)/usr/bin
|
|
|
|
|
|
|
|
include ${TOPDIR}/mk/pkg-bottom.mk
|
|
include ${TOPDIR}/mk/pkg-bottom.mk
|