2012-06-30 20:07:25 +04:00
|
|
|
# Copyright 1999-2012 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2012-11-01 10:40:17 +04:00
|
|
|
# $Header: /var/cvsroot/gentoo-x86/net-misc/grive/grive-0.2.0.ebuild,v 1.4 2012/11/01 03:05:41 ottxor Exp $
|
2012-06-30 20:07:25 +04:00
|
|
|
|
|
|
|
EAPI=4
|
|
|
|
|
|
|
|
inherit cmake-utils eutils multilib
|
|
|
|
|
2012-08-26 23:50:26 +04:00
|
|
|
if [[ ${PV} = *9999 ]]; then
|
2012-06-30 20:07:25 +04:00
|
|
|
inherit git-2
|
2012-07-02 01:08:49 +04:00
|
|
|
EGIT_REPO_URI="git://github.com/Grive/${PN}.git"
|
2012-08-26 23:50:26 +04:00
|
|
|
else
|
|
|
|
inherit vcs-snapshot
|
|
|
|
SRC_URI="https://github.com/Grive/${PN}/tarball/v${PV} -> ${P}.tar.gz"
|
2012-06-30 20:07:25 +04:00
|
|
|
fi
|
|
|
|
|
|
|
|
DESCRIPTION="an open source Linux client for Google Drive"
|
|
|
|
HOMEPAGE="http://www.lbreda.com/grive/"
|
|
|
|
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="0"
|
2012-07-02 01:08:49 +04:00
|
|
|
KEYWORDS="~amd64 ~x86"
|
2012-06-30 20:07:25 +04:00
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
RDEPEND="
|
2012-07-22 23:13:23 +04:00
|
|
|
>=dev-libs/boost-1.48
|
2012-06-30 20:07:25 +04:00
|
|
|
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" )
|
2012-11-01 10:40:17 +04:00
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
has_version ">=sys-devel/binutils-2.22.90" && export CXXFLAGS+=" -DPACKAGE" #428636
|
|
|
|
}
|