Makefile 734 B

1234567891011121314151617181920212223242526
  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:= squashfs
  5. PKG_VERSION:= 4.0
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= a3c23391da4ebab0ac4a75021ddabf96
  8. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=squashfs/}
  9. DISTFILES:= ${PKG_NAME}${PKG_VERSION}.tar.gz
  10. WRKDIST= ${WRKDIR}/$(PKG_NAME)${PKG_VERSION}
  11. include ../rules.mk
  12. $(WRKBUILD)/.compiled: ${WRKDIST}/.prepared
  13. $(MAKE) -C $(WRKBUILD)/squashfs-tools
  14. touch $@
  15. ${STAGING_TOOLS}/bin/mksquashfs: $(WRKBUILD)/.compiled
  16. $(INSTALL_BIN) $(WRKBUILD)/squashfs-tools/mksquashfs \
  17. ${STAGING_TOOLS}/bin
  18. install: ${STAGING_TOOLS}/bin/mksquashfs
  19. include $(TOPDIR)/mk/tools.mk