Permalink
Browse files

add gcc recipe

  • Loading branch information...
1 parent f5b3ed3 commit 9e425bbac55940e9001d6e1c9b16b155395f0e0b @bleything committed May 4, 2012
Showing with 34 additions and 5 deletions.
  1. +1 −5 config/example.json
  2. +7 −0 cookbooks/apps/files/default/gcc
  3. +26 −0 cookbooks/apps/recipes/gcc.rb
View
@@ -7,6 +7,7 @@
"recipe[apps::chrome]",
"recipe[apps::dropbox]",
"recipe[apps::emacs]",
+ "recipe[apps::gcc]",
"recipe[apps::grandperspective]",
"recipe[apps::macvim]",
"recipe[apps::virtualbox]",
@@ -27,13 +28,8 @@
],
"homebrew": {
- "taps": [
- "homebrew/dupes"
- ],
-
"packages": [
"ack",
- "apple-gcc42",
"autoconf",
"automake",
"dos2unix",
@@ -0,0 +1,7 @@
+################################################################################
+### This file installed by bootstrap. If you run bootstrap again, you'll lose
+### any changes made here.
+################################################################################
+
+export CC=/usr/local/bin/gcc-4.2
+export CXX=/usr/local/bin/g++-4.2
@@ -0,0 +1,26 @@
+#
+# Cookbook Name:: apps
+# Recipe:: gcc
+# Author:: Ben Bleything <ben.bleything@livingsocial.com>
+#
+# Copyright 2012, LivingSocial
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+include_recipe 'homebrew'
+include_recipe 'homebrew::taps'
+
+package "apple-gcc42"
+directory "#{ENV['HOME']}/.bash.d"
+cookbook_file "#{ENV['HOME']}/.bash.d/gcc"

0 comments on commit 9e425bb

Please sign in to comment.