yasm.mk 794 B

1234567891011121314151617181920212223
  1. ################################################################################
  2. #
  3. # yasm
  4. #
  5. ################################################################################
  6. YASM_VERSION = 1.3.0
  7. YASM_SITE = http://www.tortall.net/projects/yasm/releases
  8. YASM_LICENSE = BSD-2-Clause, BSD-3-Clause, Artistic, GPL-2.0, LGPL-2.0
  9. YASM_LICENSE_FILES = COPYING BSD.txt Artistic.txt GNU_GPL-2.0 GNU_LGPL-2.0
  10. YASM_CPE_ID_VENDOR = tortall
  11. # This sed prevents it compiling 2 programs (vsyasm and ytasm)
  12. # that are only of use on Microsoft Windows.
  13. define YASM_PRE_CONFIGURE_FIXUP
  14. $(SED) 's#) ytasm.*#)#' $(@D)/Makefile.in
  15. endef
  16. YASM_PRE_CONFIGURE_HOOKS += YASM_PRE_CONFIGURE_FIXUP
  17. HOST_YASM_PRE_CONFIGURE_HOOKS += YASM_PRE_CONFIGURE_FIXUP
  18. $(eval $(autotools-package))
  19. $(eval $(host-autotools-package))