a09768a3c1
Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
22 lines
652 B
Makefile
22 lines
652 B
Makefile
################################################################################
|
|
#
|
|
# meson
|
|
#
|
|
################################################################################
|
|
|
|
MESON_VERSION = 0.63.1
|
|
MESON_SITE = https://github.com/mesonbuild/meson/releases/download/$(MESON_VERSION)
|
|
MESON_LICENSE = Apache-2.0
|
|
MESON_LICENSE_FILES = COPYING
|
|
MESON_SETUP_TYPE = setuptools
|
|
|
|
HOST_MESON_DEPENDENCIES = host-ninja
|
|
|
|
# Avoid interpreter shebang longer than 128 chars
|
|
define HOST_MESON_SET_INTERPRETER
|
|
$(SED) '1s:.*:#!/usr/bin/env python3:' $(HOST_DIR)/bin/meson
|
|
endef
|
|
HOST_MESON_POST_INSTALL_HOOKS += HOST_MESON_SET_INTERPRETER
|
|
|
|
$(eval $(host-python-package))
|