From a027c4c54f3c94e43f3a79bdb8c4ef6bec49e3fd Mon Sep 17 00:00:00 2001 From: alick01 Date: Fri, 2 Feb 2018 00:07:29 +0300 Subject: [PATCH] double-conversion:First release --- .../mathematics/double-conversion/actions.py | 24 ++++++++++++++ .../mathematics/double-conversion/pspec.xml | 32 +++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 science/mathematics/double-conversion/actions.py create mode 100644 science/mathematics/double-conversion/pspec.xml diff --git a/science/mathematics/double-conversion/actions.py b/science/mathematics/double-conversion/actions.py new file mode 100644 index 0000000000..6549a367a2 --- /dev/null +++ b/science/mathematics/double-conversion/actions.py @@ -0,0 +1,24 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/copyleft/gpl.txt + +from pisi.actionsapi import cmaketools +from pisi.actionsapi import get +from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools + + +def setup(): + cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release") + +def build(): + cmaketools.make() + + +def install(): + cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) + pisitools.domove("/usr/lib64/*", "/usr/lib") + pisitools.removeDir("/usr/lib64") + diff --git a/science/mathematics/double-conversion/pspec.xml b/science/mathematics/double-conversion/pspec.xml new file mode 100644 index 0000000000..1883fd212f --- /dev/null +++ b/science/mathematics/double-conversion/pspec.xml @@ -0,0 +1,32 @@ + + + double-conversion + https://github.com/google/double-conversion + + Ali Cengiz Kurt + alicengizkurt@gmail.com + + BSD 3-clause + app:console + Binary-decimal and decimal-binary conversion routines + Efficient binary-decimal and decimal-binary conversion routines for IEEE doubles. + https://github.com/google/double-conversion/archive/v3.0.0.tar.gz + + + double-conversion + + /usr/lib + /usr/include/double-conversion/ + /usr/share/doc + + + + + 2018-02-01 + 3.0.0 + First release + Ali Cengiz Kurt + alicengizkurt@gmail.com + + +