www-client/badwolf-9999: Switched to ninja as buildsystem

Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
Haelwenn (lanodan) Monnier 2023-07-19 10:46:16 +02:00
parent 199ce48627
commit 532ea04b53
No known key found for this signature in database
GPG Key ID: D5B7A8E43C997DEE

View File

@ -1,9 +1,9 @@
# Copyright 2019-2021 Gentoo Authors # Copyright 2019-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=7 EAPI=8
inherit xdg inherit xdg ninja-utils
if [[ "${PV}" == "9999" ]] if [[ "${PV}" == "9999" ]]
then then
@ -46,8 +46,16 @@ src_configure() {
./configure ./configure
} }
src_compile() {
eninja
}
src_test() {
eninja test
}
src_install() { src_install() {
default DESTDIR="${ED}" eninja install
[[ "${PV}" == "9999" ]] || save_config config.h [[ "${PV}" == "9999" ]] || save_config config.h
} }