1
0

Makefile 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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:= 2
  7. PKG_MD5SUM:= 8fb0ae2267aa6e728958adc38f8163a2
  8. PKG_DESCR:= basic file, shell and text manipulation utilities (also provided by busybox)
  9. PKG_SECTION:= core
  10. PKG_BUILDDEP:= gmp autotool
  11. PKG_URL:= http://www.gnu.org/software/coreutils/
  12. PKG_SITES:= http://ftp.gnu.org/gnu/coreutils/
  13. PKG_MULTI:= 1
  14. PKG_SUBPKGS:= COREUTILS TSORT SHA256SUM TOUCH
  15. PKGSD_TSORT:= topological sort utility
  16. PKGSD_SHA256SUM:= SHA1 256 bit checksum utility
  17. PKGSD_TOUCH:= touch utility
  18. include $(TOPDIR)/mk/package.mk
  19. $(eval $(call PKG_template,COREUTILS,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  20. $(eval $(call PKG_template,TSORT,tsort,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_TSORT},${PKG_SECTION}))
  21. $(eval $(call PKG_template,TOUCH,touch,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_TOUCH},${PKG_SECTION}))
  22. $(eval $(call PKG_template,SHA256SUM,sha256sum,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_SHA256SUM},${PKG_SECTION}))
  23. AUTOTOOL_STYLE:= autoreconf
  24. CONFIGURE_ARGS+= --disable-rpath
  25. touch-install:
  26. $(INSTALL_DIR) $(IDIR_TOUCH)/usr/bin
  27. $(INSTALL_BIN) $(WRKINST)/usr/bin/touch \
  28. $(IDIR_TOUCH)/usr/bin
  29. tsort-install:
  30. $(INSTALL_DIR) $(IDIR_TSORT)/usr/bin
  31. $(INSTALL_BIN) $(WRKINST)/usr/bin/tsort \
  32. $(IDIR_TSORT)/usr/bin
  33. sha256sum-install:
  34. $(INSTALL_DIR) $(IDIR_SHA256SUM)/usr/bin
  35. $(INSTALL_BIN) $(WRKINST)/usr/bin/sha256sum \
  36. $(IDIR_SHA256SUM)/usr/bin
  37. include ${TOPDIR}/mk/pkg-bottom.mk