ccache:First release

This commit is contained in:
Rmys
2018-09-13 13:09:17 +03:00
parent cf378abb54
commit 9c64c337b2
7 changed files with 479 additions and 51 deletions
+31
View File
@@ -0,0 +1,31 @@
#!/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 shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
def setup():
if shelltools.isDirectory("zlib"):
shelltools.unlinkDir("zlib")
autotools.configure("--prefix=/usr")
def build():
autotools.make()
def check():
autotools.make("check")
def install():
autotools.install()
# Create symlinks
for cc in ("gcc", "g++", "cc", "c++"): # , "clang" , "clang++"
pisitools.dosym("../../../bin/ccache", "/usr/lib/ccache/bin/%s" % cc)
#pisitools.dosym("../../../bin/ccache", "/usr/lib/ccache/bin/%s-%s" % (get.HOST(), cc))
#pisitools.dodoc("LICENSE.txt", "README.txt")
+44
View File
@@ -0,0 +1,44 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>ccache</Name>
<Homepage>http://ccache.samba.org/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv3+</License>
<IsA>app:console</IsA>
<Summary>Fast C/C++ compiler cache</Summary>
<Description>ccache is a compiler cache. It speeds up recompilation of C/C++ code by caching previous compiles and detecting when the same compile is being done.</Description>
<Archive sha1sum="5acfdea35d379cadf192363e21f3e25e0f35b01c" type="tarxz">http://samba.org/ftp/ccache/ccache-3.4.3.tar.xz</Archive>
<BuildDependencies>
<Dependency>zlib-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>ccache</Name>
<RuntimeDependencies>
<Dependency>gcc</Dependency>
<Dependency>zlib</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="executable">/usr/lib/ccache/bin</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2018-09-12</Date>
<Version>3.4.3</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
+10
View File
@@ -0,0 +1,10 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>ccache</Name>
<Summary xml:lang="tr">Hızlı C/C++ derleme önbelleği</Summary>
<Description xml:lang="tr">ccache bir derleme önbelleğidir. Önceki derlemeleri önbelleğinde saklayıp, aynı derlemelerde bu önbelleği kullanarak C/C++ kodlarının yeniden derlenmelerini hızlandırır.</Description>
<Description xml:lang="fr">Cache de Compilation rapide</Description>
<Summary xml:lang="es">Cache veloz de compilador</Summary>
</Source>
</PISI>