Add guidelines-support-library package
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
#!/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',
|
||||
'-DGSL_TEST=OFF',
|
||||
'-DCMAKE_EXE_LINKER_FLAGS="%s"' % get.LDFLAGS(),
|
||||
'-DCMAKE_BUILD_TYPE=Release'
|
||||
])
|
||||
cmaketools.configure(parameters)
|
||||
|
||||
|
||||
def build():
|
||||
shelltools.cd('build')
|
||||
cmaketools.make()
|
||||
|
||||
|
||||
def install():
|
||||
shelltools.cd('build')
|
||||
cmaketools.install()
|
||||
|
||||
pisitools.dodoc('../LICENSE')
|
||||
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>guidelines-support-library</Name>
|
||||
<Homepage>https://github.com/Microsoft/GSL</Homepage>
|
||||
<Packager>
|
||||
<Name>Safa Arıman</Name>
|
||||
<Email>safa@ariman.gen.tr</Email>
|
||||
</Packager>
|
||||
<License>MIT</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Microsoft Guidelines Support Library</Summary>
|
||||
<Description>The Guideline Support Library (GSL) contains functions and types that are suggested for use by the C++ Core Guidelines maintained by the Standard C++ Foundation. This package contains Microsoft's implementation of GSL.</Description>
|
||||
<Archive sha1sum="37833349b0f0a336eac3b680e79ffd78b50ff5c9" type="targz">https://github.com/microsoft/GSL/archive/v2.1.0.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>cmake</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>guidelines-support-library-devel</Name>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2020-03-18</Date>
|
||||
<Version>2.1.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>guidelines-support-library</Name>
|
||||
<Summary xml:lang="tr">Microsoft Guidelines Support Library</Summary>
|
||||
<Description xml:lang="tr">The Guideline Support Library (GSL) contains functions and types that are suggested for use by the C++ Core Guidelines maintained by the Standard C++ Foundation. This package contains Microsoft's implementation of GSL.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user