cjson-1.7.18
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
|
||||
|
||||
from pisi.actionsapi import cmaketools, mesontools, pisitools
|
||||
|
||||
i = ''.join([
|
||||
' -DCMAKE_BUILD_TYPE=Release',
|
||||
' -DCMAKE_INSTALL_PREFIX=/usr',
|
||||
' -DENABLE_CJSON_UTILS=ON',
|
||||
' -Bbuild -G Ninja -L '
|
||||
])
|
||||
|
||||
def setup():
|
||||
cmaketools.configure(i)
|
||||
|
||||
def build():
|
||||
mesontools.build()
|
||||
|
||||
def install():
|
||||
mesontools.install()
|
||||
|
||||
pisitools.dodoc("CONTRIBUTORS.md", "LICENSE")
|
||||
@@ -0,0 +1,53 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>cjson</Name>
|
||||
<Homepage>https://github.com/DaveGamble/cJSON</Homepage>
|
||||
<Packager>
|
||||
<Name>Blue Devil</Name>
|
||||
<Email>bluedevil@sctzine.com</Email>
|
||||
</Packager>
|
||||
<License>MIT</License>
|
||||
<PartOf>programming.misc</PartOf>
|
||||
<Summary>Ultralightweight JSON parser in ANSI C.</Summary>
|
||||
<Description>pass</Description>
|
||||
<Archive sha1sum="3e3408c124a2c885e2724ff88d7f5473cda53038" type="targz">https://github.com/DaveGamble/cJSON/archive/v1.7.18/cJSON-1.7.18.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>cmake</Dependency>
|
||||
<Dependency>ninja</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<!-- <Patch level="1"></Patch> -->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>cjson</Name>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>cjson-devel</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">cjson</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/cmake</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2025-02-06</Date>
|
||||
<Version>1.7.18</Version>
|
||||
<Name>Mostapa Mohammed</Name>
|
||||
<Email>roseblue@inclusive.mail</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user