summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Hajdan <phajdan.jr@gentoo.org>2010-08-11 03:31:35 +0000
committerPaweł Hajdan <phajdan.jr@gentoo.org>2010-08-11 03:31:35 +0000
commit4509d4fe311bbcd223ecb52ce2a79e77e4514231 (patch)
tree27157431dfac9db319f8dea74821f5cfe2e033ee /app-emacs
parentUpdate plugins search path instead of using a symlink. (diff)
downloadgentoo-2-4509d4fe311bbcd223ecb52ce2a79e77e4514231.tar.gz
gentoo-2-4509d4fe311bbcd223ecb52ce2a79e77e4514231.tar.bz2
gentoo-2-4509d4fe311bbcd223ecb52ce2a79e77e4514231.zip
Initial import.
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/google-c-style/ChangeLog10
-rw-r--r--app-emacs/google-c-style/google-c-style-20091009.ebuild24
-rw-r--r--app-emacs/google-c-style/metadata.xml6
3 files changed, 40 insertions, 0 deletions
diff --git a/app-emacs/google-c-style/ChangeLog b/app-emacs/google-c-style/ChangeLog
new file mode 100644
index 000000000000..333f301bdd9e
--- /dev/null
+++ b/app-emacs/google-c-style/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-emacs/google-c-style
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/google-c-style/ChangeLog,v 1.1 2010/08/11 03:31:35 phajdan.jr Exp $
+
+*google-c-style-20091009 (11 Aug 2010)
+
+ 11 Aug 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org>
+ +google-c-style-20091009.ebuild, +metadata.xml:
+ Initial import.
+
diff --git a/app-emacs/google-c-style/google-c-style-20091009.ebuild b/app-emacs/google-c-style/google-c-style-20091009.ebuild
new file mode 100644
index 000000000000..6cecb6904336
--- /dev/null
+++ b/app-emacs/google-c-style/google-c-style-20091009.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/google-c-style/google-c-style-20091009.ebuild,v 1.1 2010/08/11 03:31:35 phajdan.jr Exp $
+
+inherit elisp
+
+IUSE=""
+
+DESCRIPTION="Provides the google C/C++ coding style."
+HOMEPAGE="http://code.google.com/p/google-styleguide/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )"
+SLOT="0"
+KEYWORDS="~x86"
+
+DEPEND=""
+RDEPEND=""
+
+pkg_postinst() {
+ einfo "Example usage (.emacs):"
+ einfo "(require 'google-c-style)"
+ einfo "(add-hook 'c-mode-common-hook 'google-set-c-style)"
+ einfo "(add-hook 'c-mode-common-hook 'google-make-newline-indent)"
+}
diff --git a/app-emacs/google-c-style/metadata.xml b/app-emacs/google-c-style/metadata.xml
new file mode 100644
index 000000000000..1d4cd56fb85b
--- /dev/null
+++ b/app-emacs/google-c-style/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>chromium</herd>
+ <herd>emacs</herd>
+</pkgmetadata>