Makefile 618 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:= gperf
  5. PKG_VERSION:= 3.0.4
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= c1f1db32fb6598d6a93e6e88796a8632
  8. PKG_SITES:= http://ftp.gnu.org/pub/gnu/gperf/
  9. include ../rules.mk
  10. install: ${BIN_DIR}/gperf
  11. $(WRKBUILD)/.compiled: ${WRKDIST}/.prepared
  12. (cd ${WRKBUILD}; ./configure)
  13. ${MAKE} -C ${WRKBUILD} CC='${CC_FOR_BUILD}'
  14. touch $@
  15. ${BIN_DIR}/gperf: $(WRKBUILD)/.compiled
  16. $(INSTALL_BIN) $(WRKBUILD)/src/gperf \
  17. ${BIN_DIR}
  18. include $(TOPDIR)/mk/tools.mk