9 |
DESCRIPTION="Open source build system." |
DESCRIPTION="Open source build system." |
10 |
HOMEPAGE="http://mesonbuild.com/" |
HOMEPAGE="http://mesonbuild.com/" |
11 |
|
|
12 |
DEPEND=">= dev-lang/python-2.7 |
DEPEND=">= dev-lang/python3-3.6 |
13 |
>= dev-util/ninja-1.8" |
>= dev-util/ninja-1.8" |
14 |
|
|
15 |
SDEPEND=">= dev-python/setuptools-20" |
SDEPEND=">= dev-python/python3-setuptools-20" |
16 |
|
|
17 |
SRCFILE="${PNAME}-${PVER}.tar.gz" |
SRCFILE="${PNAME}-${PVER}.tar.gz" |
18 |
SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
19 |
|
|
20 |
sminclude python |
sminclude python3 |
21 |
|
|
22 |
SRC_URI=( |
SRC_URI=( |
23 |
https://github.com/mesonbuild/meson/releases/download/${PVER}/${SRCFILE} |
https://github.com/mesonbuild/meson/releases/download/${PVER}/${SRCFILE} |
30 |
{ |
{ |
31 |
cd ${SRCDIR} |
cd ${SRCDIR} |
32 |
|
|
33 |
python_doinstall --optimize=1 --skip-build || die |
python3_doinstall --optimize=1 --skip-build || die |
34 |
} |
} |