mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
update 0.60.3 (2021-12-23) to 0.61.1 (2022-01-17) release notes: - https://mesonbuild.com/Release-notes-for-0-61-0.html - https://github.com/mesonbuild/meson/compare/0.61.0...0.61.1
25 lines
862 B
Makefile
25 lines
862 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="meson"
|
|
PKG_VERSION="0.61.1"
|
|
PKG_SHA256="feb2cefb325b437dbf36146df7c6b87688ddff0b0205caa31dc64055c6da410c"
|
|
PKG_LICENSE="Apache"
|
|
PKG_SITE="http://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 pathlib:host"
|
|
PKG_LONGDESC="High productivity build system"
|
|
PKG_TOOLCHAIN="manual"
|
|
|
|
make_host() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
makeinstall_host() {
|
|
exec_thread_safe python3 setup.py install --prefix=${TOOLCHAIN} --skip-build
|
|
|
|
# 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
|
|
}
|