msgpack-c-6.
This commit is contained in:
@@ -4,20 +4,25 @@
|
||||
# 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 shelltools, cmaketools, pisitools, get
|
||||
from pisi.actionsapi import mesontools, cmaketools
|
||||
|
||||
j = ''.join([
|
||||
' -DCMAKE_BUILD_TYPE=Release',
|
||||
' -DCMAKE_C_COMPILER=gcc',
|
||||
' -DCMAKE_CXX_COMPILER=g++',
|
||||
' -DMSGPACK_BUILD_EXAMPLES=OFF',
|
||||
' -DMSGPACK_ENABLE_STATIC=OFF '
|
||||
' -DMSGPACK_ENABLE_STATIC=OFF',
|
||||
' -B_build -G Ninja -L '
|
||||
])
|
||||
|
||||
def setup():
|
||||
cmaketools.configure("-B_build %s -L" % j)
|
||||
cmaketools.configure(j)
|
||||
|
||||
def build():
|
||||
shelltools.cd("_build")
|
||||
cmaketools.make()
|
||||
mesontools.build("-C _build")
|
||||
|
||||
def check():
|
||||
mesontools.build("-C _build test")
|
||||
|
||||
def install():
|
||||
shelltools.cd("_build")
|
||||
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
mesontools.install("-C _build")
|
||||
|
||||
@@ -13,11 +13,13 @@
|
||||
<PartOf>programming.library</PartOf>
|
||||
<Summary>It's like JSON but smaller and faster.</Summary>
|
||||
<Description>MessagePack is an efficient binary serialization format, which lets you exchange data among multiple languages like JSON, except that it's faster and smaller. Small integers are encoded into a single byte and short strings require only one extra byte in addition to the strings themselves.</Description>
|
||||
<Archive sha1sum="625750b0497b775080d7027762352dcecd856cfb" type="targz">
|
||||
https://github.com/msgpack/msgpack-c/releases/download/c-5.0.0/msgpack-c-5.0.0.tar.gz
|
||||
<Archive sha1sum="2bb0503d5ae4f4026ec2ef729725c225d6212719" type="targz">
|
||||
https://github.com/msgpack/msgpack-c/releases/download/c-6.0.0/msgpack-c-6.0.0.tar.gz
|
||||
</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>cmake</Dependency>
|
||||
<Dependency>ninja</Dependency>
|
||||
<Dependency>gtest-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
@@ -37,12 +39,20 @@
|
||||
<Dependency release="current">msgpack-c</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib/cmake</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2023-03-05</Date>
|
||||
<Version>6.0.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>fury</Name>
|
||||
<Email>uglyside@yandex.ru</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2023-01-15</Date>
|
||||
<Version>5.0.0</Version>
|
||||
|
||||
Reference in New Issue
Block a user