From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id A800913864E for ; Thu, 24 Jan 2013 10:54:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8043421C001; Thu, 24 Jan 2013 10:54:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 03E4F21C001 for ; Thu, 24 Jan 2013 10:54:33 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1C55A33D969 for ; Thu, 24 Jan 2013 10:54:33 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 8CA76E4073 for ; Thu, 24 Jan 2013 10:54:31 +0000 (UTC) From: "Tiziano Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tiziano Müller" Message-ID: <1359024865.6292c5fd0a22a7541e68ca4d0b239086e02c74ad.dev-zero@gentoo> Subject: [gentoo-commits] dev/dev-zero:master commit in: net-libs/zmqpp/ X-VCS-Repository: dev/dev-zero X-VCS-Files: net-libs/zmqpp/Manifest net-libs/zmqpp/zmqpp-9999.ebuild X-VCS-Directories: net-libs/zmqpp/ X-VCS-Committer: dev-zero X-VCS-Committer-Name: Tiziano Müller X-VCS-Revision: 6292c5fd0a22a7541e68ca4d0b239086e02c74ad X-VCS-Branch: master Date: Thu, 24 Jan 2013 10:54:31 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 996c6373-ab0e-4c87-a148-0dcf1f38e366 X-Archives-Hash: 28484785680ef4626842e34ea45bd6c9 commit: 6292c5fd0a22a7541e68ca4d0b239086e02c74ad Author: Tiziano Müller dev-zero ch> AuthorDate: Thu Jan 24 10:54:25 2013 +0000 Commit: Tiziano Müller gentoo org> CommitDate: Thu Jan 24 10:54:25 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=dev/dev-zero.git;a=commit;h=6292c5fd Fix installation. --- net-libs/zmqpp/Manifest | 2 +- net-libs/zmqpp/zmqpp-9999.ebuild | 23 +++++++++++++++-------- 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/net-libs/zmqpp/Manifest b/net-libs/zmqpp/Manifest index ec6598b..e797ba2 100644 --- a/net-libs/zmqpp/Manifest +++ b/net-libs/zmqpp/Manifest @@ -1 +1 @@ -EBUILD zmqpp-9999.ebuild 896 SHA256 25432165854135258bb67e5962763d9e29ef4ca5d3a31d79f9645e9cfe301e1e SHA512 d8a9799375ebfc1865da6ac25982bcb10cd90fa602f0fd14801cc8e4ccb595ef14c0d0cb117e9278c3c20139f2dafb7084752a9c7aef403fd697be6ac1003572 WHIRLPOOL 18e703cfd404af239d84aaa8518d9ca253f9745642017e4d2e9fb752fb4d4073f9887c5f977fe0b2358f954631c1358a2c283fc960df35e6473059e8d4cc35fc +EBUILD zmqpp-9999.ebuild 1201 SHA256 72badb50d1e3f317988ea14b12fde2efe9b54c9e1f5d327db45c9e93fd550147 SHA512 be81c86badf9a37688d0e6eef7812ba3d10aec178d65eb2c9dcbbee216adfba2498f9868c7255971666e7fe2b78a83917577ba1c86a8aa7e4a9b97bf3c690dd0 WHIRLPOOL 26c20cc06ef0c6ba1e6c278279af9f6eae629cb801582b606a34b80810c7312ac4c9939caa834d06d65232feb1ebd447f0e2a956fb177a43894820b03db68bbf diff --git a/net-libs/zmqpp/zmqpp-9999.ebuild b/net-libs/zmqpp/zmqpp-9999.ebuild index 72bf7c8..057982b 100644 --- a/net-libs/zmqpp/zmqpp-9999.ebuild +++ b/net-libs/zmqpp/zmqpp-9999.ebuild @@ -4,7 +4,7 @@ EAPI=5 -inherit git-2 multilib +inherit git-2 DESCRIPTION="High-level C++ bindings for ZeroMQ" HOMEPAGE="https://github.com/benjamg/zmqpp" @@ -14,34 +14,41 @@ EGIT_BRANCH="develop" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" -IUSE="client test" +IUSE="client doc static-libs test" RDEPEND="net-libs/zeromq client? ( dev-libs/boost )" DEPEND="${RDEPEND} + doc? ( app-doc/doxygen ) test? ( dev-libs/boost )" +LIB_VERSION="2.2.0" + src_configure() { sed -i \ - -e '/^CONFIG/d' \ -e '/^CPPFLAGS/d' \ -e '/^CXXFLAGS/d' \ -e '/^LDFLAGS/d' \ -e '/^CXX/d' \ + -e 's|^CONFIG.*|CONFIG = gentoo|' \ -e 's|^PREFIX = .*|PREFIX = /usr|' \ - -e "s|/lib|/$(get_libdir)|" \ Makefile || die "sed failed" } src_compile() { emake main use client && emake client + if use doc ; then + doxygen zmqpp.doxygen.conf || die "building documentation failed" + fi } src_install() { # work around primitive build system - dodir /usr/include/zmqpp - dodir /usr/$(get_libdir) - - default + insinto /usr/include/zmqpp + doins src/zmqpp/*.hpp + newlib.so build/gentoo-*/*.so.* libzmqpp.so.${LIB_VERSION} + use static-libs && dolib.a build/gentoo-*/*.a + use client && dobin build/gentoo-*/zmqpp + use doc && dohtml -r docs/html/* }