mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-games/mercator: port to EAPI 7, ltprune--
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,22 +1,23 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
inherit ltprune
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="WorldForge library primarily aimed at terrain"
|
||||
HOMEPAGE="https://www.worldforge.org/index.php/components/mercator/"
|
||||
SRC_URI="mirror://sourceforge/worldforge/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="doc"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND=">=dev-games/wfmath-1"
|
||||
DEPEND="${RDEPEND}
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
doc? ( app-doc/doxygen )
|
||||
virtual/pkgconfig"
|
||||
"
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
@@ -25,6 +26,11 @@ src_compile() {
|
||||
|
||||
src_install() {
|
||||
default
|
||||
use doc && dohtml -r doc/html/*
|
||||
prune_libtool_files
|
||||
|
||||
if use doc ; then
|
||||
docinto html
|
||||
dodoc -r doc/html/*
|
||||
fi
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user