/[gentoo-x86]/net-misc/grive/grive-0.2.0.ebuild
Gentoo

Contents of /net-misc/grive/grive-0.2.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Sun Apr 14 17:44:13 2013 UTC (19 months, 2 weeks ago) by ottxor
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
added subslot deps

(Portage version: 2.2.0_alpha173/cvs/Linux x86_64, signed Manifest commit with key C2000586)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/grive/grive-0.2.0.ebuild,v 1.7 2013/03/23 19:51:07 ottxor Exp $
4
5 EAPI=4
6
7 inherit cmake-utils eutils multilib
8
9 if [[ ${PV} = *9999 ]]; then
10 inherit git-2
11 EGIT_REPO_URI="git://github.com/Grive/${PN}.git"
12 else
13 inherit eutils vcs-snapshot
14 SRC_URI="mirror://github/Grive/${PN}/tarball/v${PV} -> ${P}.tar.gz"
15 fi
16
17 DESCRIPTION="an open source Linux client for Google Drive"
18 HOMEPAGE="http://www.lbreda.com/grive/"
19
20 LICENSE="GPL-2"
21 SLOT="0"
22 KEYWORDS="~amd64 ~x86"
23 IUSE=""
24
25 RDEPEND="
26 dev-libs/boost
27 dev-libs/expat
28 dev-libs/json-c
29 dev-libs/libgcrypt
30 dev-libs/libgpg-error
31 net-misc/curl
32 sys-devel/binutils
33 sys-libs/glibc
34 sys-libs/zlib
35 "
36
37 DEPEND="${RDEPEND}"
38
39 DOCS=( "README" )
40
41 src_prepare() {
42 epatch "${FILESDIR}"/"${P}"-check-bfd.h.patch
43
44 #bug #462632 due to bug #452234
45 if has_version ">=dev-libs/json-c-0.10-r1" ; then
46 sed -i -e '/\(include\|INCLUDE\)/s@json/@json-c/@' \
47 libgrive/src/protocol/Json.cc \
48 cmake/Modules/FindJSONC.cmake || die
49 fi
50 }

  ViewVC Help
Powered by ViewVC 1.1.20