From 24e2b51f2b81b6b48376a5b4facbcddb4caad177 Mon Sep 17 00:00:00 2001
From: Tristan Van Berkom <tristan.vanberkom@codethink.co.uk>
Date: Tue, 21 Mar 2017 12:36:42 +0000
Subject: Renamed build-essential to gnu-toolchain

---
 gnu-toolchain/ccache.bst | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 gnu-toolchain/ccache.bst

(limited to 'gnu-toolchain/ccache.bst')

diff --git a/gnu-toolchain/ccache.bst b/gnu-toolchain/ccache.bst
new file mode 100644
index 00000000..f66a37ca
--- /dev/null
+++ b/gnu-toolchain/ccache.bst
@@ -0,0 +1,28 @@
+kind: autotools
+
+sources:
+- kind: git
+  url: upstream:ccache
+  track: baserock/gnu-toolchain
+  ref: 567631456f0899cdf0c382f898d38aadc8901d32
+
+depends:
+- filename: gnu-toolchain/stage2.bst
+  type: build
+- gnu-toolchain/fhs-dirs.bst
+- gnu-toolchain/glibc.bst
+- gnu-toolchain/zlib.bst
+
+environment:
+  PATH: /usr/bin:/bin:/usr/sbin:/sbin:/tools/bin:/tools/sbin
+
+config:
+  configure-commands:
+  - ./configure --prefix="%{prefix}"
+  install-commands:
+  - make DESTDIR="%{install-root}" install
+  - mkdir -p "%{install-root}%{prefix}/lib/ccache"
+  - for cc in gcc cc g++ c++; do ln -sf "%{prefix}/bin/ccache" "%{install-root}%{prefix}/lib/ccache/$cc";
+    done
+  - for cc in gcc cc g++ c++; do ln -sf "%{prefix}/bin/ccache" "%{install-root}%{prefix}/lib/ccache/%{target}-$cc";
+    done
-- 
cgit v1.2.1

