annotate net-misc/zmq/zmq-1.0.0.ebuild @ 194:48a70956f8ca

postgresql virtuals have been in portage for some time now
author holger
date Tue, 15 Dec 2009 15:02:17 +0100
parents 0f0eee037856
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
79
7165b0bc5268 initial import of zeromq ebuild
holger@hoho.dyndns.org
parents:
diff changeset
1 # Copyright 1999-2008 Gentoo Foundation
7165b0bc5268 initial import of zeromq ebuild
holger@hoho.dyndns.org
parents:
diff changeset
2 # Distributed under the terms of the GNU General Public License v2
7165b0bc5268 initial import of zeromq ebuild
holger@hoho.dyndns.org
parents:
diff changeset
3 # $Header: $
7165b0bc5268 initial import of zeromq ebuild
holger@hoho.dyndns.org
parents:
diff changeset
4
133
e3983612de33 bump zeromq to 0.6.1; add some USE flags
holger
parents: 132
diff changeset
5 inherit eutils flag-o-matic
79
7165b0bc5268 initial import of zeromq ebuild
holger@hoho.dyndns.org
parents:
diff changeset
6
7165b0bc5268 initial import of zeromq ebuild
holger@hoho.dyndns.org
parents:
diff changeset
7 DESCRIPTION="ZeroMQ is a brokerless messaging kernel with extremely high performance."
7165b0bc5268 initial import of zeromq ebuild
holger@hoho.dyndns.org
parents:
diff changeset
8 HOMEPAGE="http://www.zeromq.org/"
7165b0bc5268 initial import of zeromq ebuild
holger@hoho.dyndns.org
parents:
diff changeset
9 SRC_URI="http://www.zeromq.org/local--files/area:download/${P}.tar.gz"
7165b0bc5268 initial import of zeromq ebuild
holger@hoho.dyndns.org
parents:
diff changeset
10 LICENSE="LGPL-3"
7165b0bc5268 initial import of zeromq ebuild
holger@hoho.dyndns.org
parents:
diff changeset
11 SLOT="0"
7165b0bc5268 initial import of zeromq ebuild
holger@hoho.dyndns.org
parents:
diff changeset
12 KEYWORDS="~x86"
133
e3983612de33 bump zeromq to 0.6.1; add some USE flags
holger
parents: 132
diff changeset
13 IUSE="amqp c examples java profile python ruby"
80
6da0c8668e7e add TODOs, verify that initial install works
holger@hoho.dyndns.org
parents: 79
diff changeset
14 #DEPEND=""
6da0c8668e7e add TODOs, verify that initial install works
holger@hoho.dyndns.org
parents: 79
diff changeset
15 #RDEPEND="${DEPEND}"
79
7165b0bc5268 initial import of zeromq ebuild
holger@hoho.dyndns.org
parents:
diff changeset
16
7165b0bc5268 initial import of zeromq ebuild
holger@hoho.dyndns.org
parents:
diff changeset
17 src_compile() {
80
6da0c8668e7e add TODOs, verify that initial install works
holger@hoho.dyndns.org
parents: 79
diff changeset
18
6da0c8668e7e add TODOs, verify that initial install works
holger@hoho.dyndns.org
parents: 79
diff changeset
19 # TODO:
6da0c8668e7e add TODOs, verify that initial install works
holger@hoho.dyndns.org
parents: 79
diff changeset
20 # --with-perf build performance tests [default=no]
133
e3983612de33 bump zeromq to 0.6.1; add some USE flags
holger
parents: 132
diff changeset
21 # --with-butterfly build butterfly example [default=no]
80
6da0c8668e7e add TODOs, verify that initial install works
holger@hoho.dyndns.org
parents: 79
diff changeset
22 # --with-camera build camera example [default=no]
6da0c8668e7e add TODOs, verify that initial install works
holger@hoho.dyndns.org
parents: 79
diff changeset
23 # --with-exchange build exchange example [default=no]
6da0c8668e7e add TODOs, verify that initial install works
holger@hoho.dyndns.org
parents: 79
diff changeset
24 # --with-chat build chatroom example [default=no]
133
e3983612de33 bump zeromq to 0.6.1; add some USE flags
holger
parents: 132
diff changeset
25 # --with-ruby build Ruby language binding [default=no]
80
6da0c8668e7e add TODOs, verify that initial install works
holger@hoho.dyndns.org
parents: 79
diff changeset
26
6da0c8668e7e add TODOs, verify that initial install works
holger@hoho.dyndns.org
parents: 79
diff changeset
27 econf \
133
e3983612de33 bump zeromq to 0.6.1; add some USE flags
holger
parents: 132
diff changeset
28 $(use_with amqp) \
e3983612de33 bump zeromq to 0.6.1; add some USE flags
holger
parents: 132
diff changeset
29 $(use_with c) \
e3983612de33 bump zeromq to 0.6.1; add some USE flags
holger
parents: 132
diff changeset
30 $(use_with java) \
e3983612de33 bump zeromq to 0.6.1; add some USE flags
holger
parents: 132
diff changeset
31 $(use_with python)
e3983612de33 bump zeromq to 0.6.1; add some USE flags
holger
parents: 132
diff changeset
32
79
7165b0bc5268 initial import of zeromq ebuild
holger@hoho.dyndns.org
parents:
diff changeset
33 emake || die "emake failed"
7165b0bc5268 initial import of zeromq ebuild
holger@hoho.dyndns.org
parents:
diff changeset
34 }
7165b0bc5268 initial import of zeromq ebuild
holger@hoho.dyndns.org
parents:
diff changeset
35
7165b0bc5268 initial import of zeromq ebuild
holger@hoho.dyndns.org
parents:
diff changeset
36 src_install() {
7165b0bc5268 initial import of zeromq ebuild
holger@hoho.dyndns.org
parents:
diff changeset
37 emake DESTDIR="${D}" install || die "emake install failed"
7165b0bc5268 initial import of zeromq ebuild
holger@hoho.dyndns.org
parents:
diff changeset
38 }