Contents of /smage/trunk/extras/meson/meson-0.51.0-r2.smage2
Parent Directory | Revision Log
Revision 13136 -
(show annotations)
(download)
Fri Jun 28 09:04:55 2019 UTC (5 years, 3 months ago) by niro
File size: 708 byte(s)
Fri Jun 28 09:04:55 2019 UTC (5 years, 3 months ago) by niro
File size: 708 byte(s)
-added missing cmake runtime dep
1 | # $Id$ |
2 | |
3 | PNAME="meson" |
4 | PVER="0.51.0" |
5 | PBUILD="r2" |
6 | |
7 | PCAT="dev-util" |
8 | |
9 | DESCRIPTION="Open source build system." |
10 | HOMEPAGE="http://mesonbuild.com/" |
11 | |
12 | # setuptools, cmake are required at runtime |
13 | DEPEND=">= dev-lang/python3-3.7 |
14 | >= dev-util/ninja-1.8 |
15 | >= dev-python/python3-setuptools-20 |
16 | >= dev-util/cmake-3.14" |
17 | |
18 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
19 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
20 | |
21 | sminclude multilib python3 |
22 | |
23 | SRC_URI=( |
24 | https://github.com/mesonbuild/meson/releases/download/${PVER}/${SRCFILE} |
25 | mirror://${PNAME}/${SRCFILE} |
26 | ) |
27 | |
28 | UP2DATE="updatecmd https://github.com/mesonbuild/${PNAME}/releases | grep ${PNAME}- | highesttarball gz" |
29 | |
30 | src_install() |
31 | { |
32 | python3_multilib_src_install --optimize=1 --skip-build || die |
33 | } |