summaryrefslogtreecommitdiffstats
path: root/package/yasm/yasm.mk
blob: 19800344299d78addd5e7b12a16042d95cf34777 (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, GPLv2, 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))
OpenPOWER on IntegriCloud