mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-cpp/exprtk: new package, add 0.0.3
Signed-off-by: Alfred Wingate <parona@protonmail.com> Part-of: https://github.com/gentoo/gentoo/pull/43244 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
f426152c8b
commit
23fd922c69
1
dev-cpp/exprtk/Manifest
Normal file
1
dev-cpp/exprtk/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST exprtk-0.0.3.tar.gz 1533147 BLAKE2B db96c6ba2aa8efd4fe7cd1115e09c12a07ec1ee7e496f6b0eacc22b61913c81574e93e1db77e35ec514813b63914518deeeb1f7c3cb83f9d6d32be2e698e84e9 SHA512 1493b68929d3cb4e97c0180ef6f111ae4edbbee072ab78223976005b8402e4e7b56d94f013fbbc009f4db2652167fa3b4ba3c33d4029572ebbe61a36df9da9e4
|
||||
38
dev-cpp/exprtk/exprtk-0.0.3.ebuild
Normal file
38
dev-cpp/exprtk/exprtk-0.0.3.ebuild
Normal file
@@ -0,0 +1,38 @@
|
||||
# Copyright 2025 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"
|
||||
|
||||
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
|
||||
}
|
||||
15
dev-cpp/exprtk/metadata.xml
Normal file
15
dev-cpp/exprtk/metadata.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person" proxied="yes">
|
||||
<email>parona@protonmail.com</email>
|
||||
<name>Alfred Wingate</name>
|
||||
</maintainer>
|
||||
<maintainer type="project" proxied="proxy">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">ArashPartow/exprtk</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user