Makefile 965 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 $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= nasm
  5. PKG_VERSION:= 2.11.02
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= ec43582b8febae24e5b440ae816120c8
  8. PKG_DESCR:= assembler application
  9. PKG_SECTION:= dev/lang
  10. PKG_BUILDDEP:= nasm-host
  11. PKG_URL:= http://sourceforge.net/projects/nasm/
  12. PKG_SITES:= http://www.nasm.us/pub/nasm/releasebuilds/${PKG_VERSION}/
  13. include $(ADK_TOPDIR)/mk/host.mk
  14. include $(ADK_TOPDIR)/mk/package.mk
  15. $(eval $(call HOST_template,NASM,nasm,$(PKG_VERSION)-${PKG_RELEASE}))
  16. $(eval $(call PKG_template,NASM,nasm,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. FAKE_FLAGS+= INSTALLROOT=${WRKINST}
  18. nasm-install:
  19. $(INSTALL_DIR) $(IDIR_NASM)/usr/bin
  20. $(INSTALL_BIN) $(WRKINST)/usr/bin/nasm \
  21. $(IDIR_NASM)/usr/bin
  22. include ${ADK_TOPDIR}/mk/host-bottom.mk
  23. include ${ADK_TOPDIR}/mk/pkg-bottom.mk