/[gentoo-x86]/net-libs/rabbitmq-c/rabbitmq-c-0.5.0.ebuild
Gentoo

Contents of /net-libs/rabbitmq-c/rabbitmq-c-0.5.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Sun Oct 5 07:25:03 2014 UTC (6 years, 1 month ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +2 -2 lines
Stable for x86, wrt bug #524290

(Portage version: 2.2.8-r1/cvs/Linux x86_64, RepoMan options: --include-arches="x86", signed Manifest commit with key 7194459F)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-libs/rabbitmq-c/rabbitmq-c-0.5.0.ebuild,v 1.5 2014/10/05 07:22:44 ago Exp $
4
5 EAPI="5"
6
7 inherit cmake-utils eutils multilib
8
9 DESCRIPTION="RabbitMQ C client"
10 HOMEPAGE="https://github.com/alanxz/rabbitmq-c"
11
12 if [[ ${PV} == *9999* ]]; then
13 inherit git-2
14 EGIT_REPO_URI="git://github.com/alanxz/rabbitmq-c.git"
15 else
16 SRC_URI="https://github.com/alanxz/rabbitmq-c/archive/v${PV}.zip -> ${PN}-v${PV}.zip"
17 KEYWORDS="amd64 ~arm hppa x86"
18 fi
19
20 LICENSE="MIT"
21 SLOT="0"
22 IUSE="tools"
23
24 DEPEND=""
25 RDEPEND="${DEPEND}"
26 DOCS=( "AUTHORS" "README.md" "THANKS" "TODO" )
27
28 src_unpack() {
29 if [[ ${PV} == *9999* ]]; then
30 git-2_src_unpack
31 else
32 unpack ${A}
33 fi
34 }
35
36 src_configure() {
37 mycmakeargs=(
38 -DCMAKE_SKIP_RPATH=ON
39 $(cmake-utils_use tools BUILD_TOOLS)
40 $(cmake-utils_use tools BUILD_TOOLS_DOCS)
41 )
42 cmake-utils_src_configure
43 }

  ViewVC Help
Powered by ViewVC 1.1.20