1
0

Makefile 760 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 $(TOPDIR)/rules.mk
  4. PKG_NAME:= lzop
  5. PKG_VERSION:= 1.03
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 006c5e27fb78cdd14a628fdfa5aa1905
  8. PKG_SITES:= http://www.lzop.org/download/
  9. include ../rules.mk
  10. install: $(WRKBUILD)/.installed
  11. $(WRKBUILD)/.configured: ${WRKDIST}/.prepared
  12. (cd ${WRKBUILD}; CPPFLAGS='$(CPPFLAGS_FOR_BUILD)' \
  13. LDFLAGS='$(LDFLAGS_FOR_BUILD)' \
  14. ./configure --prefix=$(STAGING_HOST_DIR)/usr)
  15. @touch $@
  16. $(WRKBUILD)/.compiled: $(WRKBUILD)/.configured
  17. ${MAKE} -C ${WRKBUILD}
  18. @touch $@
  19. $(WRKBUILD)/.installed: $(WRKBUILD)/.compiled
  20. ${MAKE} -C ${WRKBUILD} install
  21. @touch $@
  22. include $(TOPDIR)/mk/tools.mk