From 33533936360c25846fec577f2b200aae3a6a6a47 Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Tue, 18 May 2010 20:31:41 +0000 Subject: [PATCH] Initial addition Package-Manager: portage-2.2_rc67/cvs/Linux x86_64 --- dev-cpp/pstreams/ChangeLog | 10 ++++++ dev-cpp/pstreams/Manifest | 15 +++++++++ dev-cpp/pstreams/metadata.xml | 34 ++++++++++++++++++++ dev-cpp/pstreams/pstreams-0.7.0.ebuild | 43 ++++++++++++++++++++++++++ 4 files changed, 102 insertions(+) create mode 100644 dev-cpp/pstreams/ChangeLog create mode 100644 dev-cpp/pstreams/Manifest create mode 100644 dev-cpp/pstreams/metadata.xml create mode 100644 dev-cpp/pstreams/pstreams-0.7.0.ebuild diff --git a/dev-cpp/pstreams/ChangeLog b/dev-cpp/pstreams/ChangeLog new file mode 100644 index 000000000000..c49a1cc70aab --- /dev/null +++ b/dev-cpp/pstreams/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-cpp/pstreams +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/pstreams/ChangeLog,v 1.1 2010/05/18 20:31:41 jlec Exp $ + +*pstreams-0.7.0 (18 May 2010) + + 18 May 2010; Justin Lecher +pstreams-0.7.0.ebuild, + +metadata.xml: + Initial addition + diff --git a/dev-cpp/pstreams/Manifest b/dev-cpp/pstreams/Manifest new file mode 100644 index 000000000000..8410281bee04 --- /dev/null +++ b/dev-cpp/pstreams/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +DIST pstreams-0.7.0.tar.gz 55536 RMD160 c0841579b88c23793a1ab9f94316a528fc9f98f5 SHA1 8300886c0c1783c7b8b1363596d77683cd213e7e SHA256 dc3850460a2ba7ff17969969e202d2c4241d250a1383b8093c961118e0b631bb +DIST pstreams-docs-0.7.0.tar.gz 102315 RMD160 b8b375ccaeac97621bbf6f8d4ed7c752c8101e29 SHA1 4afb1235b6d4d2e1531abf286763c4f17fc9ec15 SHA256 e6894752ee59a9a7b09b3fdab13ceec7f67b73418485f20cde62f4e845194e7b +EBUILD pstreams-0.7.0.ebuild 896 RMD160 7f1bc9f0e53bb989897ff374a4e1cabe55e73ecd SHA1 d29ff492baeb3050f0f2534df467c396ffb9af51 SHA256 aa3d17dce83e7a9d7b16d9ac8dd361b1823b2b6662c3d3d74a5070f12536bcc6 +MISC ChangeLog 342 RMD160 d4c80920c28ea5c4043d937611a879b3c782c3c7 SHA1 9be1ff46569a26bcc13c3aa87617ceebe232f3fe SHA256 27305622c5810ec55a140edbf974abf6efa0945dc0debc5c36dc7ca2191e54c6 +MISC metadata.xml 1247 RMD160 6cd8ef3c7847e2a55e7aab4dec5fa0059387aa60 SHA1 4d497ead37da99385ad31d379db313eaeeee6586 SHA256 a00af376cfcb2c2c2f066164b37755ed53889c12919e0101cc7bb082142b0138 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.14 (GNU/Linux) + +iEYEARECAAYFAkvy+TMACgkQgAnW8HDreRYWPgCfRcR6EnTthYxXn74WDmzuHrsq +7bIAoLSTpd9dowpygNsKiEBXihprRxHJ +=NFNx +-----END PGP SIGNATURE----- diff --git a/dev-cpp/pstreams/metadata.xml b/dev-cpp/pstreams/metadata.xml new file mode 100644 index 000000000000..971a5ca8e455 --- /dev/null +++ b/dev-cpp/pstreams/metadata.xml @@ -0,0 +1,34 @@ + + + + +no-herd + + @gentoo.org + + + + + diff --git a/dev-cpp/pstreams/pstreams-0.7.0.ebuild b/dev-cpp/pstreams/pstreams-0.7.0.ebuild new file mode 100644 index 000000000000..97786d528e5a --- /dev/null +++ b/dev-cpp/pstreams/pstreams-0.7.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/pstreams/pstreams-0.7.0.ebuild,v 1.1 2010/05/18 20:31:41 jlec Exp $ + +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" +KEYWORDS="~amd64 ~x86" +LICENSE="LGPL-3" +IUSE="doc" + +RDEPEND="" +DEPEND="doc? ( app-doc/doxygen )" + +src_compile() { + if use doc; then + emake || die + fi +} + +src_test() { + emake \ + CXX="$(tc-getCXX)" \ + CXXFLAGS="${CXXFLAGS}" \ + check +} + +src_install() { + insinto /usr/include + doins pstream.h || die + + dodoc AUTHORS ChangeLog README || die + + if use doc; then + dohtml -r "${WORKDIR}"/${PN}-docs-${PV}/* -R + fi +} -- 2.26.2