6a81db89eb
[thomas.petazzoni@free-electrons.com: drop the --disable-static from configuration options, the default behavior should work without problem. make sure the pre configure hook is also executed for the host variant of the package. add the project upstream URL in the package help text ] Signed-off-by: Stefan Froberg <stefan.froberg@petroprogram.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
21 lines
600 B
Makefile
21 lines
600 B
Makefile
#############################################################
|
|
#
|
|
# 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))
|