summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-11-11 20:56:47 +0000
committerMike Frysinger <vapier@gentoo.org>2011-11-11 20:56:47 +0000
commit31610fc8a2c2110dbe89eb54f527b2fe3733e87d (patch)
treea4f33be0733346b3e153cc66f06c6029e5cd6fb5 /dev-cpp
parentAdd arm love. (diff)
downloadgentoo-2-31610fc8a2c2110dbe89eb54f527b2fe3733e87d.tar.gz
gentoo-2-31610fc8a2c2110dbe89eb54f527b2fe3733e87d.tar.bz2
gentoo-2-31610fc8a2c2110dbe89eb54f527b2fe3733e87d.zip
Initial import based on ChromeOS's ebuild.
(Portage version: 2.2.0_alpha72/cvs/Linux x86_64)
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/glog/ChangeLog9
-rw-r--r--dev-cpp/glog/glog-0.3.1.ebuild28
-rw-r--r--dev-cpp/glog/metadata.xml11
3 files changed, 48 insertions, 0 deletions
diff --git a/dev-cpp/glog/ChangeLog b/dev-cpp/glog/ChangeLog
new file mode 100644
index 000000000000..abc729152ad7
--- /dev/null
+++ b/dev-cpp/glog/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-cpp/glog
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/glog/ChangeLog,v 1.1 2011/11/11 20:56:47 vapier Exp $
+
+*glog-0.3.1 (11 Nov 2011)
+
+ 11 Nov 2011; Mike Frysinger <vapier@gentoo.org> +glog-0.3.1.ebuild,
+ +metadata.xml:
+ Initial import based on ChromeOS's ebuild.
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..25064382ab1b
--- /dev/null
+++ b/dev-cpp/glog/glog-0.3.1.ebuild
@@ -0,0 +1,28 @@
+# 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 versionator
+
+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_configure() {
+ export ac_cv_lib_gflags_main=$(usex gflags)
+ use test || export ac_cv_prog_GTEST_CONFIG=no
+ econf $(use_enable static-libs static)
+}
diff --git a/dev-cpp/glog/metadata.xml b/dev-cpp/glog/metadata.xml
new file mode 100644
index 000000000000..67e441957a26
--- /dev/null
+++ b/dev-cpp/glog/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>vapier@gentoo.org</email>
+</maintainer>
+<use>
+ <flag name='gflags'>Use gflags module for flag parsing</flag>
+</use>
+</pkgmetadata>