diff options
| author | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
|---|---|---|
| committer | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
| commit | ecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch) | |
| tree | b89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /dev-cpp/muParser | |
| parent | 1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff) | |
| download | baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip | |
Updating liguros repo
Diffstat (limited to 'dev-cpp/muParser')
| -rw-r--r-- | dev-cpp/muParser/Manifest | 2 | ||||
| -rw-r--r-- | dev-cpp/muParser/files/muParser-1.32-parallel-build.patch | 15 | ||||
| -rw-r--r-- | dev-cpp/muParser/metadata.xml | 18 | ||||
| -rw-r--r-- | dev-cpp/muParser/muParser-2.2.5.ebuild | 43 | ||||
| -rw-r--r-- | dev-cpp/muParser/muParser-2.2.6.1.ebuild | 43 |
5 files changed, 121 insertions, 0 deletions
diff --git a/dev-cpp/muParser/Manifest b/dev-cpp/muParser/Manifest new file mode 100644 index 000000000000..36dde2ca7f60 --- /dev/null +++ b/dev-cpp/muParser/Manifest @@ -0,0 +1,2 @@ +DIST muParser-2.2.5.tar.gz 761315 BLAKE2B ddb7a226cecd164929a2f45ca0c2a5d20f37cd6bba2fca919c9e534017fa087523311bade8a7be4a5a011ecd5dec0a2496ff08354d2010341bccf2e2a8276c1d SHA512 d89380ebdc0ce91d0ea38fe43419ab6ed06c47d352b9ee20e1edcce48337b464366153493e0241c373ba2880a8b419fb9541e56cda0d14915daf9b98136ee682 +DIST muParser-2.2.6.1.tar.gz 755653 BLAKE2B b3b6b8da57c0e8a0bda74038689d444ba8da00d6cce80030d8b35693209f0293874e4822c4941974be21fd4b7c09ba7df2c9cef861bc10b890aae4f641040faf SHA512 01bfc8cc48158c8413ae5e1da2ddbac1c9f0b9075470b1ab75853587d641dd195ebea268e1060a340098fd8015bc5f77d8e9cde5f81cffeade2f157c5f295496 diff --git a/dev-cpp/muParser/files/muParser-1.32-parallel-build.patch b/dev-cpp/muParser/files/muParser-1.32-parallel-build.patch new file mode 100644 index 000000000000..1681c6e68034 --- /dev/null +++ b/dev-cpp/muParser/files/muParser-1.32-parallel-build.patch @@ -0,0 +1,15 @@ +Fixing parallel build issue + +http://bugs.gentoo.org/show_bug.cgi?id=310037 + +--- muparser_v132/Makefile.in ++++ muparser_v132/Makefile.in +@@ -291,7 +291,7 @@ + @COND_SHARED_1@ rm -f $(DESTDIR)$(prefix)/$$f; \ + @COND_SHARED_1@ done + +-@COND_SAMPLES_1@$(top_builddir)/samples/example1/example1$(EXEEXT): $(EXAMPLE1_OBJECTS) $(__muParser_lib___depname) ++@COND_SAMPLES_1@$(top_builddir)/samples/example1/example1$(EXEEXT): $(EXAMPLE1_OBJECTS) $(__muParser_lib___depname) lib + @COND_SAMPLES_1@ $(CXX) -o $@ $(EXAMPLE1_OBJECTS) -L$(top_builddir)/lib -L$(srcdir)/lib $(LDFLAGS) -lmuparser$(DEBUG_BUILD_POSTFIX) $(LIBS) + @COND_SAMPLES_1@ + @COND_SAMPLES_1@ $(__example1___mac_setfilecmd) diff --git a/dev-cpp/muParser/metadata.xml b/dev-cpp/muParser/metadata.xml new file mode 100644 index 000000000000..1b387baed515 --- /dev/null +++ b/dev-cpp/muParser/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci-mathematics@gentoo.org</email> + <name>Gentoo Mathematics Project</name> + </maintainer> + <longdescription lang="en"> + muParser is a C++ library for mathematical expression parsing. + It is based on transforming an expression into a bytecode and + precalculating constant parts of it. + </longdescription> + <upstream> + <remote-id type="sourceforge">muparser</remote-id> + <remote-id type="github">beltoforion/muparser</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-cpp/muParser/muParser-2.2.5.ebuild b/dev-cpp/muParser/muParser-2.2.5.ebuild new file mode 100644 index 000000000000..6e70ecf5770c --- /dev/null +++ b/dev-cpp/muParser/muParser-2.2.5.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils + +DESCRIPTION="Library for parsing mathematical expressions" +HOMEPAGE="http://muparser.beltoforion.de/" +SRC_URI="https://github.com/beltoforion/muparser/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="doc test" +RESTRICT="!test? ( test )" + +S=${WORKDIR}/muparser-${PV} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.32-parallel-build.patch + sed -i \ + -e 's:-O2::g' \ + configure || die +} + +src_configure() { + econf $(use_enable test samples) +} + +src_test() { + cat > test.sh <<- EOFTEST + LD_LIBRARY_PATH="${S}/lib" samples/example1/example1 <<- EOF + quit + EOF + EOFTEST + sh ./test.sh || die "test failed" +} + +src_install() { + default + dodoc Changes.txt +} diff --git a/dev-cpp/muParser/muParser-2.2.6.1.ebuild b/dev-cpp/muParser/muParser-2.2.6.1.ebuild new file mode 100644 index 000000000000..6e70ecf5770c --- /dev/null +++ b/dev-cpp/muParser/muParser-2.2.6.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils + +DESCRIPTION="Library for parsing mathematical expressions" +HOMEPAGE="http://muparser.beltoforion.de/" +SRC_URI="https://github.com/beltoforion/muparser/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="doc test" +RESTRICT="!test? ( test )" + +S=${WORKDIR}/muparser-${PV} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.32-parallel-build.patch + sed -i \ + -e 's:-O2::g' \ + configure || die +} + +src_configure() { + econf $(use_enable test samples) +} + +src_test() { + cat > test.sh <<- EOFTEST + LD_LIBRARY_PATH="${S}/lib" samples/example1/example1 <<- EOF + quit + EOF + EOFTEST + sh ./test.sh || die "test failed" +} + +src_install() { + default + dodoc Changes.txt +} |
