mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 16:33:09 +01:00
app-misc/freediag: cmake-utils -> cmake
Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Yury Martynov <email@linxon.ru>
This commit is contained in:
parent
87d3543ae8
commit
49915d3fa9
1 changed files with 8 additions and 8 deletions
|
|
@ -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
|
||||
inherit cmake
|
||||
|
||||
AVC=( $(ver_rs 1- ' ') )
|
||||
MY_PV="R${AVC[0]}_${AVC[1]}"
|
||||
|
|
@ -17,21 +17,21 @@ LICENSE="GPL-3"
|
|||
SLOT="0"
|
||||
IUSE="gui"
|
||||
|
||||
DOCS=( AUTHORS CHANGES COPYING README doc )
|
||||
|
||||
DEPEND="gui? ( x11-libs/fltk:* )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}_fix_scangui_compiling.patch" )
|
||||
|
||||
DOCS=( AUTHORS CHANGES COPYING README doc )
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
src_prepare() {
|
||||
eapply "${FILESDIR}/${P}_fix_scangui_compiling.patch"
|
||||
|
||||
sed -i \
|
||||
-e 's:"README_v${PKGVERSIONMAJOR}_${PKGVERSIONMINOR}.txt"::g' \
|
||||
CMakeLists.txt || die
|
||||
|
||||
cmake-utils_src_prepare
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
|
|
@ -41,5 +41,5 @@ src_configure() {
|
|||
-DUSE_INIFILE=ON
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
cmake_src_configure
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue