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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Thu Mar 14 18:50:36 2013 UTC (7 years, 8 months ago) by olemarkus
Branch: MAIN
CVS Tags: HEAD
New package. Thanks to Travis Hansen. Bug 433503

(Portage version: 2.1.11.50/cvs/Linux x86_64, signed Manifest commit with key C4A92BF5)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header$
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 KEYWORDS="-*"
16 else
17 SRC_URI="https://github.com/alanxz/rabbitmq-c/archive/${PN}-v${PV}.zip"
18 KEYWORDS="~amd64 ~x86"
19 fi
20
21 LICENSE="MIT"
22 SLOT="0"
23 IUSE="tools"
24
25 DEPEND=""
26 RDEPEND="${DEPEND}"
27 DOCS=( "AUTHORS" "README.md" "THANKS" "TODO" )
28 PATCHES=( "${FILESDIR}/xmlto.patch" )
29
30 src_unpack() {
31 if [[ ${PV} == *9999* ]]; then
32 git-2_src_unpack
33 else
34 unpack ${A}
35 mv ${PN}* ${P} || die
36 fi
37 }
38
39 src_configure() {
40 mycmakeargs=(
41 -DCMAKE_SKIP_RPATH=ON
42 $(cmake-utils_use tools BUILD_TOOLS)
43 $(cmake-utils_use tools BUILD_TOOLS_DOCS)
44 )
45 cmake-utils_src_configure
46 }

  ViewVC Help
Powered by ViewVC 1.1.20