/[gentoo-x86]/dev-cpp/glog/glog-0.3.1.ebuild
Gentoo

Contents of /dev-cpp/glog/glog-0.3.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu Jan 10 20:39:56 2013 UTC (7 years ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +6 -2 lines
Add build fix to older version too.

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-cpp/glog/glog-0.3.1.ebuild,v 1.2 2011/11/12 00:27:22 vapier Exp $
4
5 EAPI="4"
6 inherit eutils
7
8 DESCRIPTION="Google's C++ logging library"
9 HOMEPAGE="http://code.google.com/p/google-glog/"
10 SRC_URI="http://google-glog.googlecode.com/files/${P}-1.tar.gz"
11
12 LICENSE="BSD"
13 SLOT="0"
14 KEYWORDS="~amd64 ~arm ~x86"
15 IUSE="gflags static-libs test"
16
17 RDEPEND="gflags? ( dev-cpp/gflags )"
18 DEPEND="${RDEPEND}
19 test? (
20 dev-cpp/gmock
21 dev-cpp/gtest
22 )"
23
24 src_prepare() {
25 epatch "${FILESDIR}"/${PN}-0.3.2-avoid-inline-asm.patch
26 }
27
28 src_configure() {
29 export ac_cv_lib_gflags_main=$(usex gflags)
30 use test || export ac_cv_prog_GTEST_CONFIG=no
31 econf $(use_enable static-libs static)
32 }

  ViewVC Help
Powered by ViewVC 1.1.20