mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-09 14:06:58 +02:00
glog: import from upstream Gentoo
The upstream Gentoo version of the glog ebuild should cover all our existing needs. BUG=chromium-os:21276 TEST=`emerge-arm-generic glog` works w/out -I/-L hacks TEST=`emerge-x86-generic glog` still works TEST=`emerge glog` still works Change-Id: I4af4ab4f2e8319a97f9315d4b3dc6dff857fdeee Reviewed-on: https://gerrit.chromium.org/gerrit/11579 Reviewed-by: David James <davidjames@chromium.org> Reviewed-by: Raymes Khoury <raymes@chromium.org> Reviewed-by: Matt Tennant <mtennant@chromium.org> Reviewed-by: Chris Wolfe <cwolfe@chromium.org> Reviewed-by: Vince Laviano <vlaviano@chromium.org> Commit-Ready: Mike Frysinger <vapier@chromium.org> Tested-by: Mike Frysinger <vapier@chromium.org>
This commit is contained in:
parent
339f62c28b
commit
dc97bbab4c
30
sdk_container/src/third_party/portage-stable/dev-cpp/glog/glog-0.3.1.ebuild
vendored
Normal file
30
sdk_container/src/third_party/portage-stable/dev-cpp/glog/glog-0.3.1.ebuild
vendored
Normal file
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/glog/glog-0.3.1.ebuild,v 1.1 2011/11/11 20:56:47 vapier Exp $
|
||||
|
||||
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
|
||||
)"
|
||||
|
||||
usex() { use "$1" && echo "${2-yes}$4" || echo "${3-no}$5" ; } #382963
|
||||
|
||||
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)
|
||||
}
|
Loading…
Reference in New Issue
Block a user