From d20b9f3d1fea3ac01c942a8967658cf04313518f Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Mon, 30 May 2022 00:41:36 +0000 Subject: Adding metadata --- dev-cpp/MEL/MEL-1.0.0-r1.ebuild | 34 ++++++++++++++++++++++++++++++++++ dev-cpp/MEL/MEL-1.0.0.ebuild | 34 ---------------------------------- 2 files changed, 34 insertions(+), 34 deletions(-) create mode 100644 dev-cpp/MEL/MEL-1.0.0-r1.ebuild delete mode 100644 dev-cpp/MEL/MEL-1.0.0.ebuild (limited to 'dev-cpp/MEL') diff --git a/dev-cpp/MEL/MEL-1.0.0-r1.ebuild b/dev-cpp/MEL/MEL-1.0.0-r1.ebuild new file mode 100644 index 000000000000..c666a6ffd912 --- /dev/null +++ b/dev-cpp/MEL/MEL-1.0.0-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Math Expression Library" +HOMEPAGE="https://github.com/pcarruscag/MEL" +SRC_URI="https://github.com/pcarruscag/MEL/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="test" + +RESTRICT="!test? ( test )" + +src_compile() { + tc-export CXX + if use test; then + "${CXX}" ${CXXFLAGS} ${LDFLAGS} -fPIE -std=c++11 -I. ./tests.cpp -o ./tests || die + fi +} + +src_install() { + insinto "/usr/include/${PN}" + doins mel.hpp definitions.hpp + dodoc README.md +} + +src_test() { + ./tests || die +} diff --git a/dev-cpp/MEL/MEL-1.0.0.ebuild b/dev-cpp/MEL/MEL-1.0.0.ebuild deleted file mode 100644 index 1edb276168ff..000000000000 --- a/dev-cpp/MEL/MEL-1.0.0.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -DESCRIPTION="Math Expression Library" -HOMEPAGE="https://github.com/pcarruscag/MEL" -SRC_URI="https://github.com/pcarruscag/MEL/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="~amd64" -IUSE="test" - -RESTRICT="!test? ( test )" - -src_compile() { - tc-export CXX - if use test; then - "${CXX}" ${CXXFLAGS} ${LDFLAGS} -fPIE -std=c++11 -I. ./tests.cpp -o ./tests || die - fi -} - -src_install() { - insinto "/usr/include/${PN}" - doins mel.hpp definitions.hpp - dodoc README.md -} - -src_test() { - ./tests || die -} -- cgit v1.3