aboutsummaryrefslogtreecommitdiff
path: root/package/yasm/yasm.mk
blob: ac75d2b6abdd9ae51f24124b6f1a7e559a07d53b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#############################################################
#
# yasm
#
#############################################################
YASM_VERSION = 1.2.0
YASM_SOURCE = yasm-$(YASM_VERSION).tar.gz
YASM_SITE = http://www.tortall.net/projects/yasm/releases/
YASM_CONF_OPT = --disable-static

define YASM_PRE_CONFIGURE_FIXUP
# This sed prevents it compiling 2 programs (vsyasm and ytasm) 
# that are only of use on Microsoft Windows. 
	sed -i 's#) ytasm.*#)#' $(@D)/Makefile.in
endef

YASM_PRE_CONFIGURE_HOOKS += YASM_PRE_CONFIGURE_FIXUP

$(eval $(autotools-package))
$(eval $(host-autotools-package))