yajl:moved into main repo for pisi 2.0

This commit is contained in:
2015-12-31 13:31:26 +02:00
parent 31acb86d12
commit 8bce866535
3 changed files with 113 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
#!/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 cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
#WorkDir = "lloyd-yajl-f4b2b1a"
def setup():
shelltools.makedirs("build")
shelltools.cd("build")
cmaketools.configure(sourceDir="..")
def build():
shelltools.cd("build")
cmaketools.make()
#def check():
#shelltools.cd("test")
#shelltools.system("./run_tests.sh")
def install():
shelltools.cd("build")
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.remove("/usr/lib/*.a")
shelltools.cd("..")
pisitools.dodoc("ChangeLog", "COPYING", "README")
+66
View File
@@ -0,0 +1,66 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>yajl</Name>
<Homepage>http://lloyd.github.com/yajl</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>BSD</License>
<IsA>library</IsA>
<IsA>app:console</IsA>
<Summary>Yet Another JSON Library (YAJL)</Summary>
<Description>yajl is a small event-driven (SAX-style) JSON parser written in ANSI C, and a small validating JSON generator.</Description>
<Archive sha1sum="fe6b3c7439b26175aee59cabf8c4923b9eb3650d" type="targz">http://github.com/lloyd/yajl/tarball/2.1.0/lloyd-yajl-2.1.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>yajl</Name>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>yajl-devel</Name>
<Summary>Development headers for yajl</Summary>
<RuntimeDependencies>
<Dependency>yajl</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/share/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="3">
<Date>2015-12-31</Date>
<Version>2.1.0</Version>
<Comment>version bump</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2014-01-17</Date>
<Version>2.0.1</Version>
<Comment>Rebuild for 1.0, change URL</Comment>
<Name>Richard de Bruin</Name>
<Email>richdb@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-08-21</Date>
<Version>2.0.1</Version>
<Comment>First release</Comment>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Update>
</History>
</PISI>
+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>yajl</Name>
<Summary xml:lang="tr">JSON kitaplığı</Summary>
<Description xml:lang="tr">yajl, ANSI C ile yazılmış olay-tabanlı (SAX tarzı) ufak bir JSON ayıklayıcıdır.</Description>
</Source>
<Package>
<Name>yajl-devel</Name>
<Summary xml:lang="tr">yajl kitaplığı için geliştirme başlıkları</Summary>
</Package>
</PISI>