diff options
Diffstat (limited to 'dev-cpp/glog/glog-0.3.1.ebuild')
-rw-r--r-- | dev-cpp/glog/glog-0.3.1.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-cpp/glog/glog-0.3.1.ebuild b/dev-cpp/glog/glog-0.3.1.ebuild new file mode 100644 index 000000000000..19e2fa44e471 --- /dev/null +++ b/dev-cpp/glog/glog-0.3.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" +inherit eutils + +DESCRIPTION="Google's C++ logging library" +HOMEPAGE="http://code.google.com/p/google-glog/" +SRC_URI="http://google-glog.googlecode.com/files/${P}-1.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="gflags static-libs test" + +RDEPEND="gflags? ( dev-cpp/gflags )" +DEPEND="${RDEPEND} + test? ( + dev-cpp/gmock + dev-cpp/gtest + )" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.3.2-avoid-inline-asm.patch +} + +src_configure() { + export ac_cv_lib_gflags_main=$(usex gflags) + use test || export ac_cv_prog_GTEST_CONFIG=no + econf $(use_enable static-libs static) +} |