Files
Arch-R/packages/python/devel/meson/package.mk

19 lines
734 B
Makefile
Raw Normal View History

# SPDX-License-Identifier: GPL-2.0
2018-07-16 20:45:36 +02:00
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
2017-10-07 11:55:26 -07:00
PKG_NAME="meson"
2025-06-10 12:23:22 +00:00
PKG_VERSION="1.8.2"
PKG_SHA256="c105816d8158c76b72adcb9ff60297719096da7d07f6b1f000fd8c013cd387af"
2017-10-07 11:55:26 -07:00
PKG_LICENSE="Apache"
2023-12-28 00:28:50 +00:00
PKG_SITE="https://mesonbuild.com"
PKG_URL="https://github.com/mesonbuild/meson/releases/download/${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_HOST="Python3:host setuptools:host"
2017-10-07 11:55:26 -07:00
PKG_LONGDESC="High productivity build system"
2024-08-23 16:41:34 +02:00
PKG_TOOLCHAIN="python"
2017-10-07 11:55:26 -07:00
2024-08-23 16:41:34 +02:00
post_makeinstall_target() {
2017-10-07 11:55:26 -07:00
# Avoid using full path to python3 that may exceed 128 byte limit.
# Instead use PATH as we know our toolchain is first.
sed -e '1 s/^#!.*$/#!\/usr\/bin\/env python3/' -i ${TOOLCHAIN}/bin/meson
2017-10-07 11:55:26 -07:00
}