Magellan Linux

Diff of /trunk/extras/ninja/ninja-1.8.2-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 29770 by niro, Wed Oct 11 08:37:11 2017 UTC revision 29771 by niro, Wed Oct 11 08:42:51 2017 UTC
# Line 17  SDEPEND=">= dev-lang/python-2.7" Line 17  SDEPEND=">= dev-lang/python-2.7"
17  SRCFILE="v${PVER}.tar.gz"  SRCFILE="v${PVER}.tar.gz"
18  SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"  SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
19    
 sminclude python  
   
20  SRC_URI=(  SRC_URI=(
21   https://github.com/ninja-build/${PNAME}/archive/${SRCFILE}   https://github.com/ninja-build/${PNAME}/archive/${SRCFILE}
22   mirror://${PNAME}/${SRCFILE}   mirror://${PNAME}/${SRCFILE}
23  )  )
24    
25    sminclude mtools
26    
27  UP2SEPERATOR="v"  UP2SEPERATOR="v"
28  UP2DATE="updatecmd https://github.com/ninja-build/${PNAME}/releases | highesttarball gz"  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    }

Legend:
Removed from v.29770  
changed lines
  Added in v.29771