tagparser, tageditor.
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
#!/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 shelltools
|
||||
from pisi.actionsapi import cmaketools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
i = ''.join([
|
||||
' -DCMAKE_BUILD_TYPE=Release',
|
||||
' -DBUILD_SHARED_LIBS=ON',
|
||||
' -DUSE_STANDARD_FILESYSTEM=ON',
|
||||
' -DFORCE_BOOST_IOSTREAMS_FOR_NATIVE_FILE_BUFFER=ON -L '
|
||||
])
|
||||
|
||||
def setup():
|
||||
shelltools.makedirs("build")
|
||||
shelltools.cd("build")
|
||||
cmaketools.configure(i, sourceDir = '..')
|
||||
|
||||
def build():
|
||||
shelltools.cd("build")
|
||||
cmaketools.make()
|
||||
|
||||
def install():
|
||||
shelltools.cd("build")
|
||||
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("../LICENSE", "../README.md")
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>cpp-utilities</Name>
|
||||
<Homepage>https://github.com/Martchus/cpp-utilities</Homepage>
|
||||
<Packager>
|
||||
<Name>fury</Name>
|
||||
<Email>uglyside@yandex.ru</Email>
|
||||
</Packager>
|
||||
<License>GPL-2</License>
|
||||
<IsA>library</IsA>
|
||||
<PartOf>programming.library</PartOf>
|
||||
<Summary>Common C++ classes and routines used by my applications such as argument parser, IO and conversion utilities.</Summary>
|
||||
<Description>Common C++ classes and routines used by my applications such as argument parser, IO and conversion utilities.</Description>
|
||||
<Archive sha1sum="ce730606a9812ae0b47027ed6cad448b13e18bee" type="targz">
|
||||
https://github.com/Martchus/cpp-utilities/archive/refs/tags/v5.11.1.tar.gz
|
||||
</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>cmake</Dependency>
|
||||
<Dependency>boost-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>cpp-utilities</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>boost</Dependency>
|
||||
<Dependency>libgcc</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>cpp-utilities-devel</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">cpp-utilities</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="data">/usr/share/c++-utilities</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2021-10-13</Date>
|
||||
<Version>5.11.1</Version>
|
||||
<Comment>First build.</Comment>
|
||||
<Name>fury</Name>
|
||||
<Email>uglyside@yandex.ru</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
|
||||
Reference in New Issue
Block a user