summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-cpp/pstreams/Manifest2
-rw-r--r--dev-cpp/pstreams/pstreams-1.0.0.ebuild43
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-cpp/pstreams/Manifest b/dev-cpp/pstreams/Manifest
index 05e694015c36..a6c2505f3e84 100644
--- a/dev-cpp/pstreams/Manifest
+++ b/dev-cpp/pstreams/Manifest
@@ -1,4 +1,6 @@
DIST pstreams-0.7.0.tar.gz 55536 SHA256 dc3850460a2ba7ff17969969e202d2c4241d250a1383b8093c961118e0b631bb SHA512 287a7503f25ad70c477b51f7c4af4c54947c1abc6c213371cdc7fc4ccdc20bf79b51959c0b482ae2fa9354e529036b2b53ca8ae5cbf8cd82ad43054856e5e00d WHIRLPOOL 884e363a5f61b45f06e277675a6c4195d9cf85d4e30d7de70099b2969311fb689061f233efcc3248e3ea2b84090102c0825729c8ff843e47066da7a030664883
DIST pstreams-0.8.1.tar.gz 58588 SHA256 b60d2e9b7466a27c43911de09311ab1936c09b9f48039347b2a430e91871dd7a SHA512 edb6fa30e0a77c4a83bbb7a15c427376d39d73db17112cc5888c404fa1e99407c42c09c9ca072027ac52c753071fb7d7333237bd49aa44488512ce64de22d8f3 WHIRLPOOL aebc0e6808ecc1255a6c5ca7bca38fe40ba192367ac0d7695bb8c2eb31f7cd3257b616d4b73c17f67a6b94623a02a5e16a073fc9129acc04b130c9af3fbba0e7
+DIST pstreams-1.0.0.tar.gz 68207 SHA256 7d24e35d26675a8d474afb45cd88694b0b9e39f01107e4ec200b1f7eb9d215f9 SHA512 172ce79431d00d9fd17af610dfb41580a522480265d58531413da1cd950caa00d5cdb8ee12e2888cfa8b93e475cdf8946be9dcc3d02cbda7eba0034e66566b56 WHIRLPOOL 95f51447f025a36c78ec4e3459fa4bd0cca194c259ee5b78e088e5821e0ea48cbaf9cdbad5cb96ecfe9e3b446009f3c673dc3fe907498b00a2fce09077e0579b
DIST pstreams-docs-0.7.0.tar.gz 102315 SHA256 e6894752ee59a9a7b09b3fdab13ceec7f67b73418485f20cde62f4e845194e7b SHA512 d7bccd0e2c83c694ff0c9ddc3ae173b4bdbae19f95c42dcc398e6dab25ea4076fda154ed84bc9b9f2872e468ad60f61a3cb20795b0c17e4bc297e4f425139f75 WHIRLPOOL 063faa1fb78abe87ac828b15b278c01362ce8b1c5459c342a2e5556eeb9c38b8b2e010c5b59ecf03e300dcaa5be04b2e1e562bd7dd9fddd92a252944734e5e05
DIST pstreams-docs-0.8.1.tar.gz 169559 SHA256 6325a97aacf079f15c535fe9cb8871af06be465f3a1324f341401c8ecea1ba35 SHA512 4b42950831bb9a092ca5eeadceded57888306f6ed24d2bd6c486b890d38b42e241f4430a7411a182d5d59b01a1fe0972d3816ec9510c9e2e50812cf390bc68be WHIRLPOOL 6709631b0aa99f99195b69e9ae8ded7bfec9e8809a16d146c6600e3884881b1a44bdf2158a2c6491ccd0fbe2d6f01ebda245778247656fb05e8cb57b0ad5a8e8
+DIST pstreams-docs-1.0.0.tar.gz 174207 SHA256 2c41135daea79a8d3cef1ae43f14cd08404a45e94b169b3bf85074896c238677 SHA512 44ad649bec3e9b02a52eb9c942842f19700cd3ebb4d7de47dd7887106ab07ab456b477815c90377dd0d92724f6144b88c4a9be89328921a675a4f263d40d4872 WHIRLPOOL c58c45bb8e7ab2b589a2f8980e081a14fd349dbe8a3e5b9f35c93974afbb819a99323e49642749376a023d72ad7cf28ded4b7fd76a3ec8f540a569503414f943
diff --git a/dev-cpp/pstreams/pstreams-1.0.0.ebuild b/dev-cpp/pstreams/pstreams-1.0.0.ebuild
new file mode 100644
index 000000000000..2199e29a961b
--- /dev/null
+++ b/dev-cpp/pstreams/pstreams-1.0.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit toolchain-funcs
+
+DESCRIPTION="C++ wrapper for the POSIX.2 functions popen(3) and pclose(3)"
+HOMEPAGE="http://pstreams.sourceforge.net/"
+SRC_URI="
+ mirror://sourceforge/${PN}/${P}.tar.gz
+ doc? ( mirror://sourceforge/${PN}/${PN}-docs-${PV}.tar.gz )"
+
+SLOT="0"
+LICENSE="LGPL-3"
+IUSE="doc"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND=""
+DEPEND="doc? ( app-doc/doxygen )"
+
+src_compile() {
+ if use doc; then
+ doxygen -u || die
+ emake
+ fi
+}
+
+src_test() {
+ emake \
+ CXX="$(tc-getCXX)" \
+ CXXFLAGS="${CXXFLAGS}" \
+ check
+}
+
+src_install() {
+ doheader pstream.h
+
+ dodoc AUTHORS ChangeLog README
+
+ use doc && dohtml -r "${WORKDIR}"/${PN}-docs-${PV}/*
+}