Annotation of /trunk/extras/ninja/ninja-1.9.0-r1.smage2
Parent Directory | Revision Log
Revision 33111 -
(hide annotations)
(download)
Thu Oct 17 20:41:58 2019 UTC (4 years, 11 months ago) by niro
File size: 891 byte(s)
Thu Oct 17 20:41:58 2019 UTC (4 years, 11 months ago) by niro
File size: 891 byte(s)
auto added: ver bump to 1.9.0-r1
1 | niro | 33111 | # $Id$ |
2 | |||
3 | PNAME="ninja" | ||
4 | PVER="1.9.0" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCAT="dev-util" | ||
8 | |||
9 | DESCRIPTION="Ninja is a small build system with a focus on speed." | ||
10 | HOMEPAGE="https://ninja-build.org/" | ||
11 | |||
12 | DEPEND=">= virtual/glibc | ||
13 | >= sys-libs/libstdc++-6.3" | ||
14 | |||
15 | SDEPEND=">= dev-lang/python-2.7" | ||
16 | |||
17 | SRCFILE="v${PVER}.tar.gz" | ||
18 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
19 | |||
20 | SRC_URI=( | ||
21 | https://github.com/ninja-build/${PNAME}/archive/${SRCFILE} | ||
22 | mirror://${PNAME}/${SRCFILE} | ||
23 | ) | ||
24 | |||
25 | sminclude mtools | ||
26 | |||
27 | UP2SEPERATOR="v" | ||
28 | UP2DATE="updatecmd https://github.com/ninja-build/${PNAME}/releases | highesttarball gz" | ||
29 | |||
30 | src_prepare() | ||
31 | { | ||
32 | munpack ${SRCFILE} || die | ||
33 | } | ||
34 | |||
35 | src_compile() | ||
36 | { | ||
37 | cd ${SRCDIR} | ||
38 | python ./configure.py --bootstrap || die | ||
39 | } | ||
40 | |||
41 | src_install() | ||
42 | { | ||
43 | cd ${SRCDIR} | ||
44 | |||
45 | minstallexec ninja || die | ||
46 | minstalldir /usr/share/vim/vimfiles/syntax || die | ||
47 | minstallfile misc/ninja.vim /usr/share/vim/vimfiles/syntax/ || die | ||
48 | minstalldocs doc/manual.asciidoc || die | ||
49 | } |