jsoncpp:First release
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
#!/usr/bin/env 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 cmaketools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
cmaketools.configure("-DCMAKE_BUILD_TYPE=release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DJSONCPP_WITH_CMAKE_PACKAGE=ON \
|
||||
-DBUILD_SHARED_LIBS=ON \
|
||||
-DBUILD_STATIC_LIBS=OFF \
|
||||
-DCMAKE_INSTALL_LIBDIR=/usr/lib")
|
||||
|
||||
def build():
|
||||
cmaketools.make()
|
||||
|
||||
def install():
|
||||
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("AUTHORS", "LICENSE", "README*")
|
||||
@@ -0,0 +1,56 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>jsoncpp</Name>
|
||||
<Homepage>https://github.com/open-source-parsers/jsoncpp</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>MIT</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>C++ library for interacting with JSON</Summary>
|
||||
<Description>C++ library for interacting with JSON</Description>
|
||||
<Archive sha1sum="98a56dba0cc6378c91668b6e1c120a657820c45e" type="targz">https://github.com/open-source-parsers/jsoncpp/archive/1.8.4.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>cmake</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>jsoncpp</Name>
|
||||
<RuntimeDependencies>
|
||||
<!-- <Dependency>Dep1</Dependency> -->
|
||||
</RuntimeDependencies>
|
||||
-->
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>jsoncpp-devel</Name>
|
||||
<Summary>Development files for jsoncpp</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">jsoncpp</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/cmake</Path>
|
||||
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2018-11-30</Date>
|
||||
<Version>1.8.4</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>jsoncpp</Name>
|
||||
<Summary xml:lang="tr">C++ library for interacting with JSON</Summary>
|
||||
<Description xml:lang="tr">C++ library for interacting with JSON</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user