Add range-v3 package
This commit is contained in:
@@ -0,0 +1,32 @@
|
|||||||
|
#!/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, shelltools
|
||||||
|
from pisi.actionsapi import pisitools
|
||||||
|
from pisi.actionsapi import get
|
||||||
|
|
||||||
|
|
||||||
|
def setup():
|
||||||
|
parameters = ' '.join([
|
||||||
|
'-B build',
|
||||||
|
'-DRANGE_V3_TESTS=OFF',
|
||||||
|
'-DRANGE_V3_HEADER_CHECKS=OFF',
|
||||||
|
'-DRANGE_V3_EXAMPLES=OFF',
|
||||||
|
'-DRANGE_V3_PERF=OFF'
|
||||||
|
])
|
||||||
|
cmaketools.configure(parameters)
|
||||||
|
|
||||||
|
|
||||||
|
def build():
|
||||||
|
shelltools.cd('build')
|
||||||
|
cmaketools.make()
|
||||||
|
|
||||||
|
|
||||||
|
def install():
|
||||||
|
shelltools.cd('build')
|
||||||
|
cmaketools.install()
|
||||||
|
|
||||||
|
pisitools.dodoc('../LICENSE.txt')
|
||||||
@@ -0,0 +1,39 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>range-v3</Name>
|
||||||
|
<Homepage>https://github.com/ericniebler/range-v3</Homepage>
|
||||||
|
<Packager>
|
||||||
|
<Name>Safa Arıman</Name>
|
||||||
|
<Email>safa@ariman.gen.tr</Email>
|
||||||
|
</Packager>
|
||||||
|
<License>BSLv1</License>
|
||||||
|
<IsA>library</IsA>
|
||||||
|
<Summary>Range algorithms, views, and actions for C++11/14/17</Summary>
|
||||||
|
<Description>Range-v3 is a generic library that augments the existing standard library with facilities for working with ranges. A range can be loosely thought of a pair of iterators. This library provides a full implementation of all the standard algorithms with range-based overloads for convenience.</Description>
|
||||||
|
<Archive sha1sum="57b20853b84602d7f021fe280bc56ca59b2a1ace" type="targz">https://github.com/ericniebler/range-v3/archive/0.10.0.tar.gz</Archive>
|
||||||
|
<BuildDependencies>
|
||||||
|
<Dependency>cmake</Dependency>
|
||||||
|
</BuildDependencies>
|
||||||
|
</Source>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>range-v3-devel</Name>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="header">/usr/include</Path>
|
||||||
|
<Path fileType="data">/usr/lib/cmake</Path>
|
||||||
|
<Path fileType="doc">/usr/share/doc</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<History>
|
||||||
|
<Update release="1">
|
||||||
|
<Date>2020-03-18</Date>
|
||||||
|
<Version>0.10.0</Version>
|
||||||
|
<Comment>First release</Comment>
|
||||||
|
<Name>Safa Arıman</Name>
|
||||||
|
<Email>safa@ariman.gen.tr</Email>
|
||||||
|
</Update>
|
||||||
|
</History>
|
||||||
|
</PISI>
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>range-v3</Name>
|
||||||
|
<Summary xml:lang="tr">Range algorithms, views, and actions for C++11/14/17</Summary>
|
||||||
|
<Description xml:lang="tr">Range-v3 is a generic library that augments the existing standard library with facilities for working with ranges. A range can be loosely thought of a pair of iterators. This library provides a full implementation of all the standard algorithms with range-based overloads for convenience.</Description>
|
||||||
|
</Source>
|
||||||
|
</PISI>
|
||||||
Reference in New Issue
Block a user