Skip to content

Commit

Permalink
dev-games/mercator: port to EAPI 7, ltprune--
Browse files Browse the repository at this point in the history
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Apr 19, 2021
1 parent bea405b commit aa8e06c
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions dev-games/mercator/mercator-0.3.3.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
}

0 comments on commit aa8e06c

Please sign in to comment.