1
0

Makefile 957 B

12345678910111213141516171819202122232425262728293031
  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:= nasm
  5. PKG_VERSION:= 2.11
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= a884450ee65201473af4d270bdc132f8
  8. PKG_DESCR:= the netwide assembler
  9. PKG_SECTION:= 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 $(TOPDIR)/mk/host.mk
  14. include $(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. HOST_STYLE:= auto
  19. nasm-install:
  20. $(INSTALL_DIR) $(IDIR_NASM)/usr/bin
  21. $(INSTALL_BIN) $(WRKINST)/usr/bin/nasm \
  22. $(IDIR_NASM)/usr/bin
  23. include ${TOPDIR}/mk/host-bottom.mk
  24. include ${TOPDIR}/mk/pkg-bottom.mk