aboutsummaryrefslogtreecommitdiff
path: root/package/yasm/yasm.mk
blob: 25f11de96431fcaec93fca51e7d9e02bf7e31551 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
################################################################################
#
# yasm
#
################################################################################

YASM_VERSION = 1.3.0
YASM_SITE = http://www.tortall.net/projects/yasm/releases
YASM_LICENSE = BSD-2c, BSD-3c, Artistic, GPL-2.0, LGPLv2
YASM_LICENSE_FILES = COPYING BSD.txt Artistic.txt GNU_GPL-2.0 GNU_LGPL-2.0

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

YASM_PRE_CONFIGURE_HOOKS += YASM_PRE_CONFIGURE_FIXUP
HOST_YASM_PRE_CONFIGURE_HOOKS += YASM_PRE_CONFIGURE_FIXUP

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