Makefile 709 B

12345678910111213141516171819202122232425
  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:= lzma
  5. PKG_VERSION:= 4.32.7
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 434e51a018b4c8ef377bf81520a53af0
  8. PKG_SITES:= http://tukaani.org/lzma/
  9. include ../rules.mk
  10. install: ${STAGING_HOST_DIR}/usr/bin/lzma
  11. $(WRKBUILD)/.compiled: ${WRKDIST}/.prepared
  12. (cd ${WRKBUILD}; PATH="$(STAGING_HOST_DIR)/usr/bin:$$PATH" ./configure)
  13. ${MAKE} -C ${WRKBUILD} CC='${CC_FOR_BUILD}'
  14. touch $@
  15. ${STAGING_HOST_DIR}/usr/bin/lzma: $(WRKBUILD)/.compiled
  16. $(INSTALL_BIN) $(WRKBUILD)/src/lzma/lzma \
  17. $(STAGING_HOST_DIR)/usr/bin/lzma
  18. include $(TOPDIR)/mk/tools.mk