Makefile 890 B

1234567891011121314151617181920212223242526272829303132
  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:= heirloom-cpio
  5. PKG_VERSION:= 1.0
  6. PKG_RELEASE:= 1
  7. PKG_DESCR:= patched version of heirloom cpio
  8. PKG_SECTION:= app/archive
  9. PKG_CFLINE_HEIRLOOM_CPIO:= depends on ADK_HOST_ONLY
  10. NO_DISTFILES:= 1
  11. include ${ADK_TOPDIR}/mk/host.mk
  12. include ${ADK_TOPDIR}/mk/package.mk
  13. $(eval $(call HOST_template,HEIRLOOM_CPIO,heirloom-cpio,${PKG_VERSION}-${PKG_RELEASE}))
  14. HOST_STYLE:= manual
  15. host-build:
  16. (cd ${WRKBUILD} && env ${HOST_MAKE_ENV} ${MAKE} -f ${MAKE_FILE} \
  17. ${HOST_MAKE_FLAGS} ${HOST_ALL_TARGET})
  18. heirloom-cpio-hostinstall:
  19. ${INSTALL_DIR} ${STAGING_HOST_DIR}/usr/bin
  20. ${INSTALL_BIN} ${WRKBUILD}/cpio ${STAGING_HOST_DIR}/usr/bin
  21. include ${ADK_TOPDIR}/mk/host-bottom.mk
  22. include ${ADK_TOPDIR}/mk/pkg-bottom.mk