gentoo-overlay/net-misc/grive/grive-0.2.0.ebuild

44 lines
937 B
Bash
Raw Normal View History

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/grive/grive-0.2.0.ebuild,v 1.4 2012/11/01 03:05:41 ottxor Exp $
EAPI=4
inherit cmake-utils eutils multilib
if [[ ${PV} = *9999 ]]; then
inherit git-2
EGIT_REPO_URI="git://github.com/Grive/${PN}.git"
else
inherit vcs-snapshot
SRC_URI="https://github.com/Grive/${PN}/tarball/v${PV} -> ${P}.tar.gz"
fi
DESCRIPTION="an open source Linux client for Google Drive"
HOMEPAGE="http://www.lbreda.com/grive/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="
>=dev-libs/boost-1.48
dev-libs/expat
dev-libs/json-c
dev-libs/libgcrypt
dev-libs/libgpg-error
net-misc/curl
sys-devel/binutils
sys-libs/glibc
sys-libs/zlib
"
DEPEND="${RDEPEND}"
DOCS=( "README" )
src_prepare() {
has_version ">=sys-devel/binutils-2.22.90" && export CXXFLAGS+=" -DPACKAGE" #428636
}