annotate net-misc/zmq/zmq-0.3.1.ebuild @ 79:7165b0bc5268

initial import of zeromq ebuild
author holger@hoho.dyndns.org
date Mon, 13 Oct 2008 19:00:52 +0200
parents
children 6da0c8668e7e
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
7165b0bc5268 initial import of zeromq ebuild
holger@hoho.dyndns.org
parents:
diff changeset
5 inherit eutils
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"
7165b0bc5268 initial import of zeromq ebuild
holger@hoho.dyndns.org
parents:
diff changeset
13 IUSE="c java python profile"
7165b0bc5268 initial import of zeromq ebuild
holger@hoho.dyndns.org
parents:
diff changeset
14
7165b0bc5268 initial import of zeromq ebuild
holger@hoho.dyndns.org
parents:
diff changeset
15 DEPEND=""
7165b0bc5268 initial import of zeromq ebuild
holger@hoho.dyndns.org
parents:
diff changeset
16 RDEPEND="${DEPEND}"
7165b0bc5268 initial import of zeromq ebuild
holger@hoho.dyndns.org
parents:
diff changeset
17
7165b0bc5268 initial import of zeromq ebuild
holger@hoho.dyndns.org
parents:
diff changeset
18 # Source directory; the dir where the sources can be found (automatically
7165b0bc5268 initial import of zeromq ebuild
holger@hoho.dyndns.org
parents:
diff changeset
19 # unpacked) inside ${WORKDIR}. The default value for S is ${WORKDIR}/${P}
7165b0bc5268 initial import of zeromq ebuild
holger@hoho.dyndns.org
parents:
diff changeset
20 # If you don't need to change it, leave the S= line out of the ebuild
7165b0bc5268 initial import of zeromq ebuild
holger@hoho.dyndns.org
parents:
diff changeset
21 # to keep it tidy.
7165b0bc5268 initial import of zeromq ebuild
holger@hoho.dyndns.org
parents:
diff changeset
22 #S="${WORKDIR}/${P}"
7165b0bc5268 initial import of zeromq ebuild
holger@hoho.dyndns.org
parents:
diff changeset
23
7165b0bc5268 initial import of zeromq ebuild
holger@hoho.dyndns.org
parents:
diff changeset
24 src_compile() {
7165b0bc5268 initial import of zeromq ebuild
holger@hoho.dyndns.org
parents:
diff changeset
25 econf || die "econf failed"
7165b0bc5268 initial import of zeromq ebuild
holger@hoho.dyndns.org
parents:
diff changeset
26 emake || die "emake failed"
7165b0bc5268 initial import of zeromq ebuild
holger@hoho.dyndns.org
parents:
diff changeset
27 }
7165b0bc5268 initial import of zeromq ebuild
holger@hoho.dyndns.org
parents:
diff changeset
28
7165b0bc5268 initial import of zeromq ebuild
holger@hoho.dyndns.org
parents:
diff changeset
29 src_install() {
7165b0bc5268 initial import of zeromq ebuild
holger@hoho.dyndns.org
parents:
diff changeset
30 emake DESTDIR="${D}" install || die "emake install failed"
7165b0bc5268 initial import of zeromq ebuild
holger@hoho.dyndns.org
parents:
diff changeset
31 }