sci-mathematics: Switch to cmake.eclass

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2020-01-05 18:40:24 +01:00
parent 26f7969f0f
commit 0ca088f5d0
2 changed files with 7 additions and 7 deletions
@@ -1,10 +1,10 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
WX_GTK_VER="3.0"
PLOCALES="ca cs da de el en es fi fr gl hu it ja kab nb pl pt_BR ru tr uk zh_CN zh_TW"
inherit cmake-utils wxwidgets l10n xdg
inherit cmake wxwidgets l10n xdg
DESCRIPTION="Graphical frontend to Maxima, using the wxWidgets toolkit"
HOMEPAGE="https://wxmaxima-developers.github.io/wxmaxima/"
@@ -28,7 +28,7 @@ PATCHES=( "${FILESDIR}"/${P}.patch )
src_prepare() {
setup-wxwidgets
cmake-utils_src_prepare
cmake_src_prepare
sed -e "s|share/doc/${PN}|share/doc/${PF}|g" -i "${S}"/info/CMakeLists.txt \
|| die "sed info/CMakeLists.txt failed"
@@ -47,5 +47,5 @@ src_prepare() {
src_install() {
docompress -x /usr/share/doc/${PF}
cmake-utils_src_install
cmake_src_install
}
+3 -3
View File
@@ -1,9 +1,9 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake-utils desktop
inherit cmake desktop
DESCRIPTION="General purpose computer algebra system"
HOMEPAGE="http://www.yacas.org/"
@@ -55,5 +55,5 @@ src_configure() {
-DENABLE_CYACAS_KERNEL=$(usex jupyter)
-DENABLE_CYACAS_UNIT_TESTS=$(usex test)
)
cmake-utils_src_configure
cmake_src_configure
}