summaryrefslogtreecommitdiff
path: root/homebrew/ccache
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/ccache')
-rw-r--r--homebrew/ccache/.beer47
-rw-r--r--homebrew/ccache/.make.sh-auto7
-rw-r--r--homebrew/ccache/_metadata/description1
-rw-r--r--homebrew/ccache/_metadata/homepage1
-rw-r--r--homebrew/ccache/_metadata/name1
-rw-r--r--homebrew/ccache/_metadata/version1
-rwxr-xr-xhomebrew/ccache/download.sh1
7 files changed, 59 insertions, 0 deletions
diff --git a/homebrew/ccache/.beer b/homebrew/ccache/.beer
new file mode 100644
index 000000000..63ead0f1f
--- /dev/null
+++ b/homebrew/ccache/.beer
@@ -0,0 +1,47 @@
+{
+ "name": "Ccache",
+ "description": "Object-file caching compiler wrapper",
+ "url": "https://www.samba.org/ftp/ccache/ccache-3.6.tar.xz",
+ "mirror": null,
+ "homepage": "https://ccache.samba.org/",
+ "depends": [
+ {
+ "depend": "asciidoc",
+ "build-depend": true
+ },
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ },
+ {
+ "depend": "libtool",
+ "build-depend": true
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "ENV[\"XML_CATALOG_FILES\"] = etc/\"xml/catalog\" if build.head?",
+ "system \"./autogen.sh\" if build.head?",
+ "system \"./configure\", \"--prefix=#{prefix}\", \"--mandir=#{man}\"",
+ "system \"make\"",
+ "system \"make\", \"install\"",
+ "libexec.mkpath",
+ "%w[",
+ "clang",
+ "clang++",
+ "cc",
+ "gcc gcc2 gcc3 gcc-3.3 gcc-4.0 gcc-4.2 gcc-4.3 gcc-4.4 gcc-4.5 gcc-4.6 gcc-4.7 gcc-4.8 gcc-4.9 gcc-5 gcc-6 gcc-7",
+ "c++ c++3 c++-3.3 c++-4.0 c++-4.2 c++-4.3 c++-4.4 c++-4.5 c++-4.6 c++-4.7 c++-4.8 c++-4.9 c++-5 c++-6 c++-7",
+ "g++ g++2 g++3 g++-3.3 g++-4.0 g++-4.2 g++-4.3 g++-4.4 g++-4.5 g++-4.6 g++-4.7 g++-4.8 g++-4.9 g++-5 g++-6 g++-7",
+ "].each do |prog|",
+ "libexec.install_symlink bin/\"ccache\" => prog"
+ ],
+ "version": "3.6",
+ "file": "ccache.rb"
+} \ No newline at end of file
diff --git a/homebrew/ccache/.make.sh-auto b/homebrew/ccache/.make.sh-auto
new file mode 100644
index 000000000..902b25df1
--- /dev/null
+++ b/homebrew/ccache/.make.sh-auto
@@ -0,0 +1,7 @@
+pkg:setup
+pkg:configure
+make
+make DESTDIR=${PKG_DEST} install
+libexec.mkpath
+%w[clang clang++ cc gcc gcc2 gcc3 gcc-3.3 gcc-4.0 gcc-4.2 gcc-4.3 gcc-4.4 gcc-4.5 gcc-4.6 gcc-4.7 gcc-4.8 gcc-4.9 gcc-5 gcc-6 gcc-7 c++ c++3 c++-3.3 c++-4.0 c++-4.2 c++-4.3 c++-4.4 c++-4.5 c++-4.6 c++-4.7 c++-4.8 c++-4.9 c++-5 c++-6 c++-7 g++ g++2 g++3 g++-3.3 g++-4.0 g++-4.2 g++-4.3 g++-4.4 g++-4.5 g++-4.6 g++-4.7 g++-4.8 g++-4.9 g++-5 g++-6 g++-7 ].each do |prog|
+libexec.install_symlink bin/"ccache" => prog
diff --git a/homebrew/ccache/_metadata/description b/homebrew/ccache/_metadata/description
new file mode 100644
index 000000000..9e2ff3e21
--- /dev/null
+++ b/homebrew/ccache/_metadata/description
@@ -0,0 +1 @@
+Object-file caching compiler wrapper
diff --git a/homebrew/ccache/_metadata/homepage b/homebrew/ccache/_metadata/homepage
new file mode 100644
index 000000000..46250400a
--- /dev/null
+++ b/homebrew/ccache/_metadata/homepage
@@ -0,0 +1 @@
+https://ccache.samba.org/
diff --git a/homebrew/ccache/_metadata/name b/homebrew/ccache/_metadata/name
new file mode 100644
index 000000000..6544eb348
--- /dev/null
+++ b/homebrew/ccache/_metadata/name
@@ -0,0 +1 @@
+Ccache
diff --git a/homebrew/ccache/_metadata/version b/homebrew/ccache/_metadata/version
new file mode 100644
index 000000000..d70c8f8d8
--- /dev/null
+++ b/homebrew/ccache/_metadata/version
@@ -0,0 +1 @@
+3.6
diff --git a/homebrew/ccache/download.sh b/homebrew/ccache/download.sh
new file mode 100755
index 000000000..9428e3eeb
--- /dev/null
+++ b/homebrew/ccache/download.sh
@@ -0,0 +1 @@
+wget https://www.samba.org/ftp/ccache/ccache-3.6.tar.xz \ No newline at end of file