mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
19 lines
734 B
Makefile
19 lines
734 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="meson"
|
|
PKG_VERSION="1.8.2"
|
|
PKG_SHA256="c105816d8158c76b72adcb9ff60297719096da7d07f6b1f000fd8c013cd387af"
|
|
PKG_LICENSE="Apache"
|
|
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"
|
|
PKG_LONGDESC="High productivity build system"
|
|
PKG_TOOLCHAIN="python"
|
|
|
|
post_makeinstall_target() {
|
|
# 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
|
|
}
|