/[gentoo-x86]/net-libs/cppzmq/cppzmq-0_pre150606.ebuild
Gentoo

Contents of /net-libs/cppzmq/cppzmq-0_pre150606.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Jul 10 21:02:59 2015 UTC (5 years ago) by zerochaos
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +8 -1 lines
add test phase from arch pkgbuild to ensure cppzmq is compatible against the installed zeromq.  maybe consider using this as src_compile?

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key DD11F94A)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-libs/cppzmq/cppzmq-0_pre150606.ebuild,v 1.1 2015/06/06 20:14:20 jlec Exp $
4
5 EAPI=5
6
7 inherit toolchain-funcs
8
9 DESCRIPTION="High-level CPP Binding for ZeroMQ"
10 HOMEPAGE="https://github.com/zeromq/cppzmq"
11 SRC_URI="http://dev.gentoo.org/~jlec/distfiles/${P}.tar.xz"
12
13 SLOT="0"
14 LICENSE="MIT"
15 KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
16 IUSE=""
17
18 RDEPEND=">=net-libs/zeromq-3"
19 DEPEND=""
20
21 src_install() {
22 doheader zmq.hpp
23 dodoc README
24 }
25
26 src_test() {
27 $(tc-getCC) -c ./zmq.hpp -L ./.libs/ -I ./include/ -o ./test.o || die "This version of cppzmq is not compatible with the installed version of net-libs/zeromq"
28 rm -f ./test.o
29 }

  ViewVC Help
Powered by ViewVC 1.1.20