From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 5CF111384B4 for ; Fri, 18 Dec 2015 10:14:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7B3EC21C015; Fri, 18 Dec 2015 10:14:01 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 31318E08B2 for ; Fri, 18 Dec 2015 10:13:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4124A3406A7 for ; Fri, 18 Dec 2015 10:13:58 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7D019CFA for ; Fri, 18 Dec 2015 10:13:53 +0000 (UTC) From: "Michael Sterrett" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Sterrett" Message-ID: <1450432623.255e23d6e0d984e2f3489e2a6ae92df22e60b2e4.mr_bones_@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-games/wfmath/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-games/wfmath/wfmath-1.0.1.ebuild X-VCS-Directories: dev-games/wfmath/ X-VCS-Committer: mr_bones_ X-VCS-Committer-Name: Michael Sterrett X-VCS-Revision: 255e23d6e0d984e2f3489e2a6ae92df22e60b2e4 X-VCS-Branch: master Date: Fri, 18 Dec 2015 10:13:53 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 8d4f0ae4-1d7d-4ab5-ae6c-e2ab4067e3eb X-Archives-Hash: 4b80b282593c2149ce3fe9db6e30c359 commit: 255e23d6e0d984e2f3489e2a6ae92df22e60b2e4 Author: Michael Sterrett gentoo org> AuthorDate: Fri Dec 18 09:57:03 2015 +0000 Commit: Michael Sterrett gentoo org> CommitDate: Fri Dec 18 09:57:03 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=255e23d6 EAPI=5; minor tidying Package-Manager: portage-2.2.24 dev-games/wfmath/wfmath-1.0.1.ebuild | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/dev-games/wfmath/wfmath-1.0.1.ebuild b/dev-games/wfmath/wfmath-1.0.1.ebuild index 10ad211..77a2ab2 100644 --- a/dev-games/wfmath/wfmath-1.0.1.ebuild +++ b/dev-games/wfmath/wfmath-1.0.1.ebuild @@ -2,7 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=4 +EAPI=5 +inherit eutils + DESCRIPTION="Worldforge math library" HOMEPAGE="http://www.worldforge.org/dev/eng/libraries/wfmath" SRC_URI="mirror://sourceforge/worldforge/${P}.tar.bz2" @@ -17,24 +19,16 @@ DEPEND="doc? ( app-doc/doxygen ) virtual/pkgconfig" src_configure() { - econf \ - $(use_enable static-libs static) + econf $(use_enable static-libs static) } src_compile() { emake - if use doc; then - emake -C doc docs - fi + use doc && emake -C doc docs } src_install() { default - if use doc; then - dohtml doc/html/* - fi - if ! use static-libs ; then - find "${D}" -type f -name '*.la' -exec rm {} + \ - || die "la removal failed" - fi + use doc && dohtml doc/html/* + prune_libtool_files }