dev-libs/socketstream: Avoid unnecessary revbump
authorAndreas Sturmlechner <asturm@gentoo.org>
Sun, 19 May 2019 17:35:05 +0000 (19:35 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 19 May 2019 17:36:12 +0000 (19:36 +0200)
...for an ebuild that no one is feeling responsible for.

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
dev-libs/socketstream/socketstream-0.7.0-r1.ebuild
dev-libs/socketstream/socketstream-0.7.0-r2.ebuild [deleted file]

index 021c38edb97590a60c015f8ac3367fbcd72d5542..741291a7e96b7670843defd6ac76c117b607d8be 100644 (file)
@@ -1,9 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=0
-
-inherit eutils
+EAPI=7
 
 DESCRIPTION="C++ Streaming sockets library"
 HOMEPAGE="http://socketstream.sourceforge.net/"
@@ -14,31 +12,26 @@ SLOT="0"
 KEYWORDS="alpha amd64 ~hppa ~ppc ~sparc x86"
 IUSE="doc"
 
-DEPEND="doc? ( app-doc/doxygen )"
-RDEPEND=""
+BDEPEND="doc? ( app-doc/doxygen )"
+
+PATCHES=(
+       "${FILESDIR}"/${PV}-missing_includes.patch
+       "${FILESDIR}"/${P}-gcc47.patch
+)
 
-src_unpack() {
-       unpack ${A}
-       cd "${S}"
+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"
-
-       epatch "${FILESDIR}"/${PV}-missing_includes.patch
-       epatch "${FILESDIR}"/${P}-gcc47.patch
 }
 
 src_compile() {
-       econf || die "econf failed"
-       emake || die "emake failed"
-
-       if use doc ; then
-               emake doxygen || die "failed to build docs"
-       fi
+       default
+       use doc && emake doxygen
 }
 
 src_install() {
-       emake DESTDIR="${D}" install || die "make install failed"
-       dodoc AUTHORS ChangeLog NEWS README* HACKING TODO
-       use doc && dohtml -r docs/html/*
+       use doc && local HTML_DOCS=( docs/html/. )
+       default
 }
diff --git a/dev-libs/socketstream/socketstream-0.7.0-r2.ebuild b/dev-libs/socketstream/socketstream-0.7.0-r2.ebuild
deleted file mode 100644 (file)
index 1e749b1..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-# 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
-}