Makefile 667 B

123456789101112131415161718192021222324
  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:= bzip2
  5. PKG_VERSION:= 1.0.6
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 00b516f4704d4a7cb50a1d97e6e8e15b
  8. PKG_SITES:= http://www.bzip.org/${PKG_VERSION}/
  9. include ../rules.mk
  10. install: ${STAGING_HOST_DIR}/usr/bin/bzip2
  11. $(WRKBUILD)/.compiled: ${WRKDIST}/.prepared
  12. ${MAKE} -C ${WRKBUILD} CC='${CC_FOR_BUILD}' PREFIX=$(STAGING_HOST_DIR)/usr
  13. touch $@
  14. ${STAGING_HOST_DIR}/usr/bin/bzip2: $(WRKBUILD)/.compiled
  15. $(INSTALL_BIN) $(WRKBUILD)/bzip2 \
  16. ${STAGING_HOST_DIR}/usr/bin
  17. include $(TOPDIR)/mk/tools.mk