summaryrefslogtreecommitdiff
path: root/dev-libs/libevocosm
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libevocosm')
-rw-r--r--dev-libs/libevocosm/Manifest2
-rw-r--r--dev-libs/libevocosm/libevocosm-3.3.1-r1.ebuild33
2 files changed, 18 insertions, 17 deletions
diff --git a/dev-libs/libevocosm/Manifest b/dev-libs/libevocosm/Manifest
index b16e299add05..2cbeb62c4216 100644
--- a/dev-libs/libevocosm/Manifest
+++ b/dev-libs/libevocosm/Manifest
@@ -1,4 +1,4 @@
AUX libevocosm-3.3.1-gcc47.patch 402 BLAKE2B bf6e11eabc9229ff8fe0badb61b01089a46a34abda5d42912caff7e6d494e01a55ab4de06e646a5af73d118314f9b023feeeff00cfd644c4070f2fe4eb7313f5 SHA512 2d4b2f615e17fdbcd8dd481384172755bfc26d98f6b3807d866e33a96f676292c70487b1c3c35b67d7425eec8e86733baad62da51be696c457ee2100fc180bf8
DIST libevocosm-3.3.1.tar.gz 414392 BLAKE2B 7952cb83a1d5affa4e9b267670cfc889373fbf5c461fdb7022fe1c4af01e2116266f298b4a6ccbfc8102e0bf38fb8411eb6b741e5d72ffefe97b15281a7e44e8 SHA512 ebb4200ac533bdb86051a8a33e5da08d677ae0aa8c2e65a9855e9465b76827c0a72f31e260ee34be62600cd22794a4e47c4471623de8d9fcb4749dcf0a37d946
-EBUILD libevocosm-3.3.1-r1.ebuild 919 BLAKE2B 6635912617107ec0b43fae192475ad89d6b0e8074792a47367638a7e1676292bde5dc7cf0407f9e4ef437d1186dd9d7a85d506c61f8ef430a4bd9938679ec18c SHA512 c232915948aa0e563354b8f36b073b3b6f8886f28d895ef2f766d89dc0a4464798429ae3f55fec1ebabc6c071be9978d58316e02673801aefe3cd984956ac5b2
+EBUILD libevocosm-3.3.1-r1.ebuild 906 BLAKE2B b43a17983998f831a434737a6dfc098555407a303862fae5afe104939740d63c64b0e080dabb20a0a3bf2ff2816ef511433bb98fdaf766cad43740b098ac6199 SHA512 a80ceddb1cec94a2b4a1d3da03f658c97403a04909554f99766852c10be49ff6b4e2d4b94c07fdc485ae410ecd81457b5dcaf3b19953bc48060a7618376ada73
MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84
diff --git a/dev-libs/libevocosm/libevocosm-3.3.1-r1.ebuild b/dev-libs/libevocosm/libevocosm-3.3.1-r1.ebuild
index 877fc757d405..310e22a38dbe 100644
--- a/dev-libs/libevocosm/libevocosm-3.3.1-r1.ebuild
+++ b/dev-libs/libevocosm/libevocosm-3.3.1-r1.ebuild
@@ -1,9 +1,7 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-
-inherit eutils ltprune
+EAPI=7
DESCRIPTION="A C++ framework for evolutionary computing"
HOMEPAGE="http://www.coyotegulch.com/products/libevocosm/"
@@ -12,37 +10,40 @@ SRC_URI="http://www.coyotegulch.com/distfiles/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
+IUSE="doc"
-IUSE="doc static-libs"
-
+BDEPEND="doc? ( app-doc/doxygen )"
RDEPEND="dev-libs/libcoyotl
dev-libs/libbrahe"
-DEPEND="${RDEPEND}
- doc? ( app-doc/doxygen )"
+DEPEND="${RDEPEND}"
DOCS=( AUTHORS ChangeLog NEWS README )
-src_prepare() {
- epatch "${FILESDIR}/${P}-gcc47.patch"
- epatch_user
-}
+PATCHES=(
+ "${FILESDIR}/${P}-gcc47.patch"
+)
src_configure() {
export ac_cv_prog_HAVE_DOXYGEN="false"
- econf $(use_enable static-libs static)
+ econf --disable-static
}
src_compile() {
emake
if use doc ; then
- cd docs
+ cd docs || die
doxygen libevocosm.doxygen || die "generating docs failed"
fi
}
src_install() {
default
- prune_libtool_files
- use doc && dohtml docs/html/*
+
+ if use doc ; then
+ docinto html
+ dodoc docs/html/*
+ fi
+
+ find "${ED}" -name '*.la' -delete || die
}