summaryrefslogtreecommitdiff
path: root/dev-libs/libevocosm
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-libs/libevocosm
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-libs/libevocosm')
-rw-r--r--dev-libs/libevocosm/Manifest6
-rw-r--r--dev-libs/libevocosm/files/libevocosm-3.3.1-gcc47.patch20
-rw-r--r--dev-libs/libevocosm/libevocosm-3.3.1-r1.ebuild48
-rw-r--r--dev-libs/libevocosm/metadata.xml8
4 files changed, 82 insertions, 0 deletions
diff --git a/dev-libs/libevocosm/Manifest b/dev-libs/libevocosm/Manifest
new file mode 100644
index 000000000000..28b2a2b37d5d
--- /dev/null
+++ b/dev-libs/libevocosm/Manifest
@@ -0,0 +1,6 @@
+AUX libevocosm-3.3.1-gcc47.patch 402 SHA256 ff3b899d95a9154919a4f02ebd49dab1d364b230763bd0378169eb62e59a78ef SHA512 2d4b2f615e17fdbcd8dd481384172755bfc26d98f6b3807d866e33a96f676292c70487b1c3c35b67d7425eec8e86733baad62da51be696c457ee2100fc180bf8 WHIRLPOOL 79c9dd293405efa03f8338763dfc2b42516c1e4823439b6f55bb42713fb8a7446d17a8e05771676e99323c82cdec3eec2353e88af6fe0d685c54bae2292dd718
+DIST libevocosm-3.3.1.tar.gz 414392 SHA256 a1c7380e627b688540c3dc9652dc38b132beec7afbb7b0420d30e1e605b997ba SHA512 ebb4200ac533bdb86051a8a33e5da08d677ae0aa8c2e65a9855e9465b76827c0a72f31e260ee34be62600cd22794a4e47c4471623de8d9fcb4749dcf0a37d946 WHIRLPOOL 430c4d826ff7106c7a1520f3acfa044f233a381bb9f18a292a495b9db49a4beb9888df5a5afec101b9d8a841c2ec618b213aa9830403db57f9bb95d8d2c17170
+EBUILD libevocosm-3.3.1-r1.ebuild 914 SHA256 7a0be8f5ce8bde8062f6962043d04f7f6bc6e56128105d55ced98efc9a54828f SHA512 0259110a1dd3a0816fb31f5bfc9c17e10764167241da509128560bb7712b0c024e0ad6155b563a3d50f1a08292a987dd70fb77179807c4abc24f59dd9161a127 WHIRLPOOL 628731cfe13b0cb191dc30171cf4aea2e649345303e2c99a13f0e836fd0dfeb58aa26f556435ffd2a74acb4396c3436562807b3608c0a3b9762c8e7310860bbb
+MISC ChangeLog 2481 SHA256 d5afab0d599fca932d0a803d6e0ec286a2028853b4a9f87649acf8be2f0aecf4 SHA512 a1dd976f30c7ecfec16303a9cc06c5bb1c19bac7ed804e7f05812bf7896fb9c5367b94478d16aadc86f99d4835411c684632278607fb2f3bf959f36a4048e167 WHIRLPOOL 4f685f9691fbf7df5a6d653df1a05f41182113cf93ac08baab834538bc083bbbeab435188cdd8cb849a809903a43b2600c39b53bfc642f77420d06d0f4d98d12
+MISC ChangeLog-2015 2616 SHA256 8c2be01212842861cba35e8c28a288c6bc937d9cd5bfe52c5529ac0dde182449 SHA512 407f02cddd837e2a6e123a2999728fd96249633b10074df62e5dffa24dcfd356b2befca8eaadd977dea2a83193039779c5cdf2b9e68eb6b2bc04a879c225cd81 WHIRLPOOL b07d0852e73c5c0107f8f8d719560e4df276ee606ebdaad050a0aa253e7a0cb8d235f69812d0955cd9a8d918c81cdc23cba03c3cc57c35069f7f8c343b4bc3ba
+MISC metadata.xml 245 SHA256 2d55ae4b33723b881e2cd48221560da36aec5b304b8bf2b440a9e2588875dba9 SHA512 b098db4fb4d9ea116f6246bc6caf0f49e80e236d2fad78d287b638dbd5add7bfaf7feb1ca081ca557b23dde9227ce42fa808f3f6fd8eaba6a7e9cae93342f9c6 WHIRLPOOL edd2e34ed3775c96bf085c9c0a95bd448028cb5ba6a2bfa7d7253b54878c888b62fa579483265c47c2602ca454fd656d32346eaa7351067cc3a36295d1e1e861
diff --git a/dev-libs/libevocosm/files/libevocosm-3.3.1-gcc47.patch b/dev-libs/libevocosm/files/libevocosm-3.3.1-gcc47.patch
new file mode 100644
index 000000000000..1e286a0215e6
--- /dev/null
+++ b/dev-libs/libevocosm/files/libevocosm-3.3.1-gcc47.patch
@@ -0,0 +1,20 @@
+ https://bugs.gentoo.org/421607
+
+ evocommon.h:468:29: error: 'usleep' was not declared in this scope
+
+ libevocosm/evocommon.h | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+--- a/libevocosm/evocommon.h
++++ b/libevocosm/evocommon.h
+@@ -54,6 +54,10 @@
+ #undef min
+ #endif
+
++#if !defined(_MSC_VER)
++#include "unistd.h"
++#endif
++
+ namespace libevocosm
+ {
+ //! The random number generator used by Evocosm
diff --git a/dev-libs/libevocosm/libevocosm-3.3.1-r1.ebuild b/dev-libs/libevocosm/libevocosm-3.3.1-r1.ebuild
new file mode 100644
index 000000000000..3152a60d260b
--- /dev/null
+++ b/dev-libs/libevocosm/libevocosm-3.3.1-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="A C++ framework for evolutionary computing"
+HOMEPAGE="http://www.coyotegulch.com/products/libevocosm/"
+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 static-libs"
+
+RDEPEND="dev-libs/libcoyotl
+ dev-libs/libbrahe"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )"
+
+DOCS=( AUTHORS ChangeLog NEWS README )
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-gcc47.patch"
+ epatch_user
+}
+
+src_configure() {
+ export ac_cv_prog_HAVE_DOXYGEN="false"
+ econf $(use_enable static-libs static)
+}
+
+src_compile() {
+ emake
+
+ if use doc ; then
+ cd docs
+ doxygen libevocosm.doxygen || die "generating docs failed"
+ fi
+}
+
+src_install() {
+ default
+ prune_libtool_files
+ use doc && dohtml docs/html/*
+}
diff --git a/dev-libs/libevocosm/metadata.xml b/dev-libs/libevocosm/metadata.xml
new file mode 100644
index 000000000000..41cd682e0ecf
--- /dev/null
+++ b/dev-libs/libevocosm/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>cpp@gentoo.org</email>
+ <name>Gentoo C++ Project</name>
+</maintainer>
+</pkgmetadata>