diff --git a/science/misc/muparser/actions.py b/science/misc/muparser/actions.py index b24195a0d8..87c8f02947 100644 --- a/science/misc/muparser/actions.py +++ b/science/misc/muparser/actions.py @@ -1,24 +1,24 @@ -#!/usr/bin/python +#!/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 autotools +from pisi.actionsapi import cmaketools from pisi.actionsapi import pisitools from pisi.actionsapi import get - def setup(): - autotools.configure("--enable-shared=yes \ - --enable-debug=no \ - --enable-samples=no") + cmaketools.configure("-DCMAKE_INSTALL_PREFIX='/usr'") def build(): - autotools.make() + cmaketools.make() + +def check(): + cmaketools.make("test") def install(): - autotools.install() + cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) - pisitools.dodoc("Changes.txt", "License.txt") + pisitools.dodoc("README*", "LICENSE") diff --git a/science/misc/muparser/pspec.xml b/science/misc/muparser/pspec.xml index 51d6c73c5f..5b405dc7a6 100644 --- a/science/misc/muparser/pspec.xml +++ b/science/misc/muparser/pspec.xml @@ -1,9 +1,9 @@ - + muparser - http://muparser.beltoforion.de/ + https://beltoforion.de/en/muparser/ PisiLinux Community admins@pisilinux.org @@ -12,16 +12,20 @@ library Mathematical expressions parser library muparser is a mathematical expressions parser library. It is based on transforming an expression into a bytecode and precalculating constant parts of it. - https://github.com/beltoforion/muparser/archive/v2.2.6.tar.gz + https://github.com/beltoforion/muparser/archive/refs/tags/v2.3.4.tar.gz + + cmake + muparser libgcc + libgomp - /usr/lib + /usr/lib/libmuparser.so* /usr/share/doc @@ -34,10 +38,18 @@ /usr/include /usr/lib/pkgconfig + /usr/lib/cmake/muparser + + 2023-10-14 + 2.3.4 + Version bump + Kamil Atlı + suvari@pisilinux.org + 2020-01-27 2.2.6