create core package
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#!/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 pisitools
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
#autotools.autoreconf("-fi")
|
||||
autotools.configure("--disable-static \
|
||||
--disable-rpath \
|
||||
--enable-shared")
|
||||
|
||||
def build():
|
||||
autotools.make("-j1")
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("COPYING", "README", "ChangeLog", "AUTHORS", "NEWS")
|
||||
@@ -0,0 +1,23 @@
|
||||
--- Makefile.in 2014-04-11 05:35:45.000000000 +0300
|
||||
+++ Makefile.in_new 2014-07-05 02:01:43.203912026 +0300
|
||||
@@ -378,7 +378,7 @@
|
||||
top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
-AM_CFLAGS = -Wall -Werror -Wno-error=deprecated-declarations -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT
|
||||
+AM_CFLAGS = -Wall -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT
|
||||
EXTRA_DIST = README.html README-WIN32.html config.h.win32 doc json-c.vcproj
|
||||
SUBDIRS = . tests
|
||||
lib_LTLIBRARIES = libjson-c.la
|
||||
|
||||
--- tests/Makefile.in 2014-04-11 05:35:45.000000000 +0300
|
||||
+++ tests/Makefile.in_new 2014-07-05 02:09:34.093891031 +0300
|
||||
@@ -544,7 +544,7 @@
|
||||
top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
-AM_CFLAGS = -Wall -Werror -Wno-error=deprecated-declarations -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT
|
||||
+AM_CFLAGS = -Wall -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT
|
||||
LDADD = $(LIBJSON_LA)
|
||||
LIBJSON_LA = $(top_builddir)/libjson-c.la
|
||||
TESTS = test1.test test2.test test4.test testReplaceExisting.test \
|
||||
@@ -0,0 +1,91 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>json-c</Name>
|
||||
<Homepage>http://oss.metaparadigm.com/json-c</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>MIT</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>A JSON implementation in C</Summary>
|
||||
<Description>json-c implements a reference counting object model that allows you to easily construct JSON objects in C, output them as JSON formatted strings and parse JSON formatted strings back into the C representation of JSON objects.</Description>
|
||||
<Archive sha1sum="b33872f8b2837c7909e9bd8734855669c57a67ce" type="targz">https://github.com/json-c/json-c/archive/json-c-0.12-20140410.tar.gz</Archive>
|
||||
<Patches>
|
||||
<Patch>wno-werror.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>json-c</Name>
|
||||
<Files>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>json-c-devel</Name>
|
||||
<PartOf>system.devel</PartOf>
|
||||
<Summary>Development files for json-c</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">json-c</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="data">/usr/lib32/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>json-c-32bit</Name>
|
||||
<PartOf>emul32</PartOf>
|
||||
<Summary>32-bit shared libraries for json-c</Summary>
|
||||
<BuildType>emul32</BuildType>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib32</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="5">
|
||||
<Date>2014-07-04</Date>
|
||||
<Version>0.12</Version>
|
||||
<Comment>Version bump and security update(CVE-2013-6371, CVE-2013-6370).</Comment>
|
||||
<Name>Vedat Demir</Name>
|
||||
<Email>vedat@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2014-05-11</Date>
|
||||
<Version>0.11</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-10-28</Date>
|
||||
<Version>0.11</Version>
|
||||
<Comment>rebuild.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-07-09</Date>
|
||||
<Version>0.11</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-04-02</Date>
|
||||
<Version>0.9</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>json-c</Name>
|
||||
<Summary xml:lang="tr">C dilinde JSON gerçeklemesi</Summary>
|
||||
<Description xml:lang="tr">json-c, C dilinde kolayca JSON nesneleri yaratılmasını sağlayan bir referans sayma modeli gerçekleyen bir kitaplıktır.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>json-c-devel</Name>
|
||||
<Summary xml:lang="tr">json-c için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user