diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2019-05-19 15:41:27 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-05-19 19:25:59 +0200 |
commit | 6e710d4fed9c0b11db23bd8ffc2a3b54d58cf668 (patch) | |
tree | 1f0842cb2a9d5b4006e92f3579871f3b7e1ca41d /dev-libs/socketstream | |
parent | media-libs/opencolorio: bump to EAPI 7 (diff) | |
download | gentoo-6e710d4fed9c0b11db23bd8ffc2a3b54d58cf668.tar.gz gentoo-6e710d4fed9c0b11db23bd8ffc2a3b54d58cf668.tar.bz2 gentoo-6e710d4fed9c0b11db23bd8ffc2a3b54d58cf668.zip |
dev-libs/socketstream: EAPI=7 bump
Closes: https://bugs.gentoo.org/686320
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/12055
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-libs/socketstream')
-rw-r--r-- | dev-libs/socketstream/socketstream-0.7.0-r2.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-libs/socketstream/socketstream-0.7.0-r2.ebuild b/dev-libs/socketstream/socketstream-0.7.0-r2.ebuild new file mode 100644 index 000000000000..1e749b199355 --- /dev/null +++ b/dev-libs/socketstream/socketstream-0.7.0-r2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="C++ Streaming sockets library" +HOMEPAGE="http://socketstream.sourceforge.net/" +SRC_URI="mirror://sourceforge/socketstream/${P}.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86" +IUSE="doc" + +BDEPEND="doc? ( app-doc/doxygen )" + +PATCHES=( + "${FILESDIR}"/${PV}-missing_includes.patch + "${FILESDIR}"/${P}-gcc47.patch +) + +src_prepare() { + default + # include/Makefile uses DIST_SUBDIRS and thus headers dont get installed + sed -i 's|^DIST_\(SUBDIRS =\)|\1|' include/Makefile.in || \ + die "sed include/Makefile.in failed" +} + +src_compile() { + default + use doc && emake doxygen +} + +src_install() { + use doc && local HTML_DOCS=( docs/html/. ) + default +} |