Makefile 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(TOPDIR)/rules.mk
  4. PKG_NAME:= coreutils
  5. PKG_VERSION:= 8.22
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 8fb0ae2267aa6e728958adc38f8163a2
  8. PKG_DESCR:= basic file, shell and text manipulation utilities
  9. PKG_SECTION:= base
  10. PKG_BUILDDEP:= gmp autotool
  11. PKG_URL:= http://www.gnu.org/software/coreutils/
  12. PKG_SITES:= http://ftp.gnu.org/gnu/coreutils/
  13. DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.xz
  14. PKG_SUBPKGS:= TSORT SHA256SUM TOUCH
  15. PKGSD_TSORT:= topological sort utility
  16. PKGSC_TSORT:= misc
  17. PKGSD_SHA256SUM:= SHA1 256 bit checksum utility
  18. PKGSC_SHA256SUM:= misc
  19. PKGSD_TOUCH:= touch utility
  20. PKGSC_TOUCH:= misc
  21. include $(TOPDIR)/mk/package.mk
  22. #$(eval $(call PKG_template,COREUTILS,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  23. $(eval $(call PKG_template,TSORT,tsort,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_TSORT},${PKGSC_TSORT}))
  24. $(eval $(call PKG_template,TOUCH,touch,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_TOUCH},${PKGSC_TOUCH}))
  25. $(eval $(call PKG_template,SHA256SUM,sha256sum,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_SHA256SUM},${PKGSC_SHA256SUM}))
  26. AUTOTOOL_STYLE:= autoreconf
  27. CONFIGURE_ARGS+= --disable-rpath
  28. touch-install:
  29. $(INSTALL_DIR) $(IDIR_TOUCH)/usr/bin
  30. $(INSTALL_BIN) $(WRKINST)/usr/bin/touch \
  31. $(IDIR_TOUCH)/usr/bin
  32. tsort-install:
  33. $(INSTALL_DIR) $(IDIR_TSORT)/usr/bin
  34. $(INSTALL_BIN) $(WRKINST)/usr/bin/tsort \
  35. $(IDIR_TSORT)/usr/bin
  36. sha256sum-install:
  37. $(INSTALL_DIR) $(IDIR_SHA256SUM)/usr/bin
  38. $(INSTALL_BIN) $(WRKINST)/usr/bin/sha256sum \
  39. $(IDIR_SHA256SUM)/usr/bin
  40. include ${TOPDIR}/mk/pkg-bottom.mk