dev-cpp/exprtk - 0.0.3 (gentoo)

Search

Package Information

Description:
C++ Mathematical Expression Parsing And Evaluation Library
Homepage:
https://www.partow.net/programming/exprtk/index.html https://github.com/ArashPartow/exprtk/
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
0.0.3 8 amd64 ~arm arm64 ~ppc ~ppc64 ~riscv ~x86 0
View Raw Ebuild
# Copyright 2025-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit edo toolchain-funcs

DESCRIPTION="C++ Mathematical Expression Parsing And Evaluation Library"
HOMEPAGE="
	https://www.partow.net/programming/exprtk/index.html
	https://github.com/ArashPartow/exprtk/
"
SRC_URI="
	https://github.com/ArashPartow/exprtk/archive/refs/tags/${PV}.tar.gz
		-> ${P}.tar.gz
"

LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv ~x86"

DOCS=( readme.txt )

src_compile() { :; }

src_test() {
	emake \
		COMPILER="$(tc-getCXX)" \
		OPTIMIZATION_OPT="${CXXFLAGS}" \
		LINKER_OPT="-lm ${LDFLAGS}" \
		exprtk_test
	edo ./exprtk_test
}

src_install() {
	doheader exprtk.hpp
	einstalldocs
}

Manifest for 0.0.3

Type File Size Source URLs
DIST exprtk-0.0.3.tar.gz 1533147 bytes https://github.com/ArashPartow/exprtk/archive/refs/tags/0.0.3.tar.gz