libcroco:moved into main for pisi 2.0

This commit is contained in:
2015-08-10 09:12:52 +03:00
parent e207e2a334
commit 75e966a67f
4 changed files with 172 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
#!/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 get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
def setup():
autotools.configure("--disable-static")
def build():
autotools.make()
def check():
autotools.make("test")
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README")
@@ -0,0 +1,41 @@
--- libcroco-0.6.1/croco-config.in.multilib 2006-03-05 16:57:01.000000000 -0500
+++ libcroco-0.6.1/croco-config.in 2006-05-23 13:54:34.000000000 -0400
@@ -1,10 +1,11 @@
#! /bin/sh
-prefix=@prefix@
-exec_prefix=@exec_prefix@
+name=libcroco-0.6
+prefix=`pkg-config --variable prefix $name`
+exec_prefix=`pkg-config --variable exec_prefix $name`
exec_prefix_set=no
-includedir=@includedir@
-libdir=@libdir@
+includedir=`pkg-config --variable includedir $name`
+libdir=`pkg-config --variable libdir $name`
usage()
{
@@ -59,7 +60,7 @@
;;
--version)
- echo @VERSION@
+ pkg-config --modversion $name
exit 0
;;
@@ -68,11 +69,11 @@
;;
--cflags)
- echo @CROCO_CFLAGS@ @GLIB2_CFLAGS@ @LIBXML2_CFLAGS@
+ pkg-config --cflags $name
;;
--libs)
- echo @CROCO_LIBS@ @GLIB2_LIBS@ @LIBXML2_LIBS@
+ pkg-config --libs $name
;;
*)
+94
View File
@@ -0,0 +1,94 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libcroco</Name>
<Homepage>http://www.freespiders.org/projects/libcroco/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>LGPLv2.1</License>
<IsA>library</IsA>
<Summary>Generic Cascading Style Sheet (CSS) parsing and manipulation toolkit</Summary>
<Description>libcroco is an effort to build a generic Cascading Style Sheet (CSS) parsing and manipulation toolkit that can be used by GNOME applications in need of CSS support.</Description>
<Archive sha1sum="23a5c33a2a86d5e46173234f5fa88ac1e15de035" type="tarxz">mirrors://gnome/libcroco/0.6/libcroco-0.6.8.tar.xz</Archive>
<BuildDependencies>
<Dependency>libxml2-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">multilib.patch</Patch>
</Patches>
</Source>
<Package>
<Name>libcroco</Name>
<RuntimeDependencies>
<Dependency>glib2</Dependency>
<Dependency>libxml2</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="doc">/usr/share</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="executable">/usr/bin</Path>
</Files>
</Package>
<Package>
<Name>libcroco-devel</Name>
<Summary>Development files for libcroco</Summary>
<RuntimeDependencies>
<Dependency release="current">libcroco</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="data">/usr/lib32/pkgconfig</Path>
<Path fileType="executable">/usr/bin/croco-*-config</Path>
</Files>
</Package>
<Package>
<Name>libcroco-32bit</Name>
<PartOf>emul32</PartOf>
<Summary>32-bit shared libraries for libcroco</Summary>
<BuildType>emul32</BuildType>
<BuildDependencies>
<Dependency>glib2-32bit</Dependency>
<Dependency>libxml2-32bit</Dependency>
</BuildDependencies>
<RuntimeDependencies>
<Dependency>glib2-32bit</Dependency>
<Dependency>glibc-32bit</Dependency>
<Dependency>libxml2-32bit</Dependency>
<Dependency release="current">libcroco</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib32</Path>
</Files>
</Package>
<History>
<Update release="3">
<Date>2014-06-14</Date>
<Version>0.6.8</Version>
<Comment>Release bump.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-08-26</Date>
<Version>0.6.8</Version>
<Comment>Release bump.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2010-12-22</Date>
<Version>0.6.8</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,14 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libcroco</Name>
<Summary xml:lang="tr">CSS ayıklama kitaplığı</Summary>
<Description xml:lang="tr">libcroco GNOME uygulamaları tarafından CSS desteği için kullanılan genel bir CSS ayıklama kitaplığıdır.</Description>
<Summary xml:lang="fr">Boîte à outils générique d'analyse et de manipulation de Cascading Style Sheet (CSS - feuilles de style).</Summary>
</Source>
<Package>
<Name>libcroco-devel</Name>
<Summary xml:lang="tr">libcroco için geliştirme dosyaları</Summary>
</Package>
</PISI>