ninja moved into contrib repo
This commit is contained in:
@@ -1,30 +0,0 @@
|
|||||||
#!/usr/bin/python
|
|
||||||
# -*- coding: utf-8 -*-
|
|
||||||
#
|
|
||||||
# Licensed under the GNU General Public License, version 3.
|
|
||||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
|
||||||
|
|
||||||
from pisi.actionsapi import pythonmodules
|
|
||||||
from pisi.actionsapi import pisitools
|
|
||||||
from pisi.actionsapi import shelltools
|
|
||||||
from pisi.actionsapi import get
|
|
||||||
|
|
||||||
|
|
||||||
def build():
|
|
||||||
shelltools.system("python bootstrap.py")
|
|
||||||
shelltools.system("asciidoc doc/manual.asciidoc")
|
|
||||||
|
|
||||||
def check():
|
|
||||||
#needs new package gtest -> ignore it for now
|
|
||||||
shelltools.system("python ./configure.py --with-gtest=/usr/share/gtest")
|
|
||||||
shelltools.system("./ninja ninja_test")
|
|
||||||
shelltools.system("./ninja_test --gtest_filter=-SubprocessTest.SetWithLots")
|
|
||||||
|
|
||||||
def install():
|
|
||||||
pisitools.dobin("ninja", "/usr/bin")
|
|
||||||
|
|
||||||
pisitools.insinto("/usr/share/bash-completion/completions", "misc/bash-completion", "ninja")
|
|
||||||
|
|
||||||
pisitools.dodoc("HACKING.md", "COPYING", "RELEASING", "README", "doc/manual.asciidoc")
|
|
||||||
|
|
||||||
pisitools.dohtml("doc/manual.html")
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
Largefile patch
|
|
||||||
https://github.com/martine/ninja/issues/829
|
|
||||||
|
|
||||||
--- ninja-1.5.1/configure.py~ 2014-10-26 22:45:18.000000000 +0200
|
|
||||||
+++ ninja-1.5.1/configure.py 2014-10-26 22:45:26.284641172 +0200
|
|
||||||
@@ -142,6 +142,7 @@
|
|
||||||
'-fno-exceptions',
|
|
||||||
'-fvisibility=hidden', '-pipe',
|
|
||||||
'-Wno-missing-field-initializers',
|
|
||||||
+ '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64',
|
|
||||||
'-DNINJA_PYTHON="%s"' % options.with_python]
|
|
||||||
if options.debug:
|
|
||||||
cflags += ['-D_GLIBCXX_DEBUG', '-D_GLIBCXX_DEBUG_PEDANTIC']
|
|
||||||
@@ -1,45 +0,0 @@
|
|||||||
<?xml version="1.0" ?>
|
|
||||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
|
||||||
<PISI>
|
|
||||||
<Source>
|
|
||||||
<Name>ninja</Name>
|
|
||||||
<Homepage>http://martine.github.com/ninja/</Homepage>
|
|
||||||
<Packager>
|
|
||||||
<Name>Stefan Gronewold(groni)</Name>
|
|
||||||
<Email>groni@pisilinux.org</Email>
|
|
||||||
</Packager>
|
|
||||||
<License>LGPLv2</License>
|
|
||||||
<IsA>app:console</IsA>
|
|
||||||
<Summary>Ninja is a small build system with a focus on speed.</Summary>
|
|
||||||
<Description>Ninja is a small build system with a focus on speed.</Description>
|
|
||||||
<Archive sha1sum="a6ff055691f6d355234298c21cc18961b4ca2ed9" type="targz">https://github.com/martine/ninja/archive/v1.6.0.tar.gz</Archive>
|
|
||||||
<BuildDependencies>
|
|
||||||
<Dependency>asciidoc</Dependency>
|
|
||||||
</BuildDependencies>
|
|
||||||
<Patches>
|
|
||||||
<Patch>LFS.patch</Patch>
|
|
||||||
</Patches>
|
|
||||||
</Source>
|
|
||||||
|
|
||||||
<Package>
|
|
||||||
<Name>ninja</Name>
|
|
||||||
<RuntimeDependencies>
|
|
||||||
<Dependency>libgcc</Dependency>
|
|
||||||
</RuntimeDependencies>
|
|
||||||
<Files>
|
|
||||||
<Path fileType="executable">/usr/bin</Path>
|
|
||||||
<Path fileType="data">/usr/share</Path>
|
|
||||||
<Path fileType="doc">/usr/share/doc</Path>
|
|
||||||
</Files>
|
|
||||||
</Package>
|
|
||||||
|
|
||||||
<History>
|
|
||||||
<Update release="1">
|
|
||||||
<Date>2015-08-25</Date>
|
|
||||||
<Version>1.6.0</Version>
|
|
||||||
<Comment>Version bump.</Comment>
|
|
||||||
<Name>Vedat Demir</Name>
|
|
||||||
<Email>vedat@pisilinux.org</Email>
|
|
||||||
</Update>
|
|
||||||
</History>
|
|
||||||
</PISI>
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
<?xml version="1.0" ?>
|
|
||||||
<PISI>
|
|
||||||
<Source>
|
|
||||||
<Name>ninja</Name>
|
|
||||||
<Summary xml:lang="tr">Ninja, hız odaklı bir inşa sistemidir.</Summary>
|
|
||||||
<Description xml:lang="tr">Ninja is a small build system with a focus on speed.</Description>
|
|
||||||
</Source>
|
|
||||||
</PISI>
|
|
||||||
Reference in New Issue
Block a user