Makefile 987 B

123456789101112131415161718192021222324252627282930
  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 ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= tar
  5. PKG_VERSION:= 1.26
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 8e7959b8edfa1eeed75819d887a2da2412a4467ef7312f7242cfc6907854b332
  8. PKG_DESCR:= archiving application
  9. PKG_SECTION:= app/archive
  10. PKG_URL:= http://mirrors.kernel.org/gnu/tar/
  11. PKG_SITES:= http://mirrors.kernel.org/gnu/tar/
  12. PKG_BB:= 1
  13. include ${ADK_TOPDIR}/mk/host.mk
  14. include ${ADK_TOPDIR}/mk/package.mk
  15. $(eval $(call HOST_template,TAR,tar,${PKG_VERSION}-${PKG_RELEASE}))
  16. $(eval $(call PKG_template,TAR,tar,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIGURE_ENV+= gl_cv_func_mbrtowc_incomplete_state=no \
  18. gl_cv_func_wcrtomb_retval=no
  19. tar-install:
  20. ${INSTALL_DIR} ${IDIR_TAR}/bin
  21. ${INSTALL_BIN} ${WRKINST}/usr/bin/tar ${IDIR_TAR}/bin
  22. include ${ADK_TOPDIR}/mk/host-bottom.mk
  23. include ${ADK_TOPDIR}/mk/pkg-bottom.mk