This commit is contained in:
Poyraz76
2015-08-20 17:48:21 +03:00
parent 5473d249e0
commit 0539397364
3 changed files with 135 additions and 0 deletions
+40
View File
@@ -0,0 +1,40 @@
#!/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 autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import libtools
from pisi.actionsapi import get
def setup():
autotools.autoreconf("-vfi")
libtools.libtoolize("--force --install")
autotools.configure("--disable-doc \
--disable-static \
--disable-ruby \
--disable-csharp \
--disable-java \
--disable-cxx \
--disable-gl \
--enable-shared \
--enable-ncurses \
--enable-slang \
--enable-imlib2 \
--enable-x11 \
--with-x \
--x-libraries=/usr/lib")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
# we remove la files but symlinks stay there, so we remove by hand
pisitools.remove("/usr/lib/*.la")
#pisitools.removeDir("/usr/share/java")
pisitools.dodoc("AUTHORS", "COPYING*", "ChangeLog", "NEWS","NOTES", "README", "THANKS")
+80
View File
@@ -0,0 +1,80 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libcaca</Name>
<Homepage>http://caca.zoy.org/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>WTFPL-2</License>
<License>LGPLv2.1</License>
<License>GPLv2</License>
<IsA>library</IsA>
<Summary>A library that creates colored ASCII-art graphics</Summary>
<Description>libcaca is a graphics library that outputs text instead of pixels, so that it can work on older video cards or text terminals</Description>
<Archive sha1sum="ed138f3717648692113145b99a80511178548010" type="targz">http://caca.zoy.org/raw-attachment/wiki/libcaca/libcaca-0.99.beta19.tar.gz</Archive>
<BuildDependencies>
<Dependency>imlib2-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>libcaca</Name>
<RuntimeDependencies>
<Dependency>imlib2</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share/libcaca</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>libcaca-devel</Name>
<Summary>Development files for libcaca</Summary>
<RuntimeDependencies>
<Dependency release="current">libcaca</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin/caca-config</Path>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="4">
<Date>2014-05-21</Date>
<Version>0.99_beta19</Version>
<Comment>Version bump.</Comment>
<Name>Kamil Atlı</Name>
<Email>suvarice@gmail.com</Email>
</Update>
<Update release="3">
<Date>2014-03-08</Date>
<Version>0.99_beta18</Version>
<Comment>Rebuild.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-07-06</Date>
<Version>0.99_beta18</Version>
<Comment>Version bump</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2010-10-12</Date>
<Version>0.99_beta17</Version>
<Comment>First release</Comment>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,15 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libcaca</Name>
<Summary xml:lang="tr">Renkli ASCII-sanat grafikleri oluşturan bir kütüphane</Summary>
<Description xml:lang="tr">libcaca piksel yerine metin üreten bir grafik kütüphanesidir, böylece eski video kart yada metin uçbirimleriyle çalışabilir.</Description>
<Description xml:lang="fr">libcaca est une librairie graphique qui génère du texte au lieu de pixels afin de pouvoir fonctionner sur de vieilles cartes graphique ou sur des terminaux texte.</Description>
<Description xml:lang="es">libcaca es una librería gráfica que produce una salida de texto en vez de pixels, por lo tanto puede funcionar con tarjetas de video más antiguas y terminales de texto</Description>
</Source>
<Package>
<Name>libcaca-devel</Name>
<Summary xml:lang="tr">libcaca için geliştirme dosyaları</Summary>
</Package>
</PISI>