diff --git a/programming/library/guidelines-support-library/actions.py b/programming/library/guidelines-support-library/actions.py new file mode 100644 index 0000000000..e5b1b0abbb --- /dev/null +++ b/programming/library/guidelines-support-library/actions.py @@ -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') diff --git a/programming/library/guidelines-support-library/pspec.xml b/programming/library/guidelines-support-library/pspec.xml new file mode 100644 index 0000000000..17c2ebe82f --- /dev/null +++ b/programming/library/guidelines-support-library/pspec.xml @@ -0,0 +1,38 @@ + + + + + guidelines-support-library + https://github.com/Microsoft/GSL + + Safa Arıman + safa@ariman.gen.tr + + MIT + library + Microsoft Guidelines Support Library + 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. + https://github.com/microsoft/GSL/archive/v2.1.0.tar.gz + + cmake + + + + + guidelines-support-library-devel + + /usr/include + /usr/share/doc + + + + + + 2020-03-18 + 2.1.0 + First release + Safa Arıman + safa@ariman.gen.tr + + + diff --git a/programming/library/guidelines-support-library/translations.xml b/programming/library/guidelines-support-library/translations.xml new file mode 100644 index 0000000000..147243ef4a --- /dev/null +++ b/programming/library/guidelines-support-library/translations.xml @@ -0,0 +1,8 @@ + + + + guidelines-support-library + Microsoft Guidelines Support Library + 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. + +