mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-07 05:57:07 -08:00
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:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user