From 8bce8665350de6b608d47f2aa856a39f2504bab0 Mon Sep 17 00:00:00 2001 From: ayhanyalcinsoy Date: Thu, 31 Dec 2015 13:31:26 +0200 Subject: [PATCH] yajl:moved into main repo for pisi 2.0 --- programming/misc/yajl/actions.py | 34 +++++++++++++ programming/misc/yajl/pspec.xml | 66 ++++++++++++++++++++++++++ programming/misc/yajl/translations.xml | 13 +++++ 3 files changed, 113 insertions(+) create mode 100644 programming/misc/yajl/actions.py create mode 100644 programming/misc/yajl/pspec.xml create mode 100644 programming/misc/yajl/translations.xml diff --git a/programming/misc/yajl/actions.py b/programming/misc/yajl/actions.py new file mode 100644 index 0000000000..b875e9fd89 --- /dev/null +++ b/programming/misc/yajl/actions.py @@ -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") diff --git a/programming/misc/yajl/pspec.xml b/programming/misc/yajl/pspec.xml new file mode 100644 index 0000000000..0327054901 --- /dev/null +++ b/programming/misc/yajl/pspec.xml @@ -0,0 +1,66 @@ + + + + + yajl + http://lloyd.github.com/yajl + + PisiLinux Community + admins@pisilinux.org + + BSD + library + app:console + Yet Another JSON Library (YAJL) + yajl is a small event-driven (SAX-style) JSON parser written in ANSI C, and a small validating JSON generator. + http://github.com/lloyd/yajl/tarball/2.1.0/lloyd-yajl-2.1.0.tar.gz + + cmake + + + + + yajl + + /usr/bin + /usr/lib + /usr/share/doc + + + + + yajl-devel + Development headers for yajl + + yajl + + + /usr/include + /usr/share/pkgconfig + + + + + + 2015-12-31 + 2.1.0 + version bump + Ayhan Yalçınsoy + ayhanyalcinsoy@pisilinux.org + + + 2014-01-17 + 2.0.1 + Rebuild for 1.0, change URL + Richard de Bruin + richdb@pisilinux.org + + + 2012-08-21 + 2.0.1 + First release + Osman Erkan + osman.erkan@pisilinux.org + + + diff --git a/programming/misc/yajl/translations.xml b/programming/misc/yajl/translations.xml new file mode 100644 index 0000000000..5bc6c3e72b --- /dev/null +++ b/programming/misc/yajl/translations.xml @@ -0,0 +1,13 @@ + + + + yajl + JSON kitaplığı + yajl, ANSI C ile yazılmış olay-tabanlı (SAX tarzı) ufak bir JSON ayıklayıcıdır. + + + + yajl-devel + yajl kitaplığı için geliştirme başlıkları + +