diff options
Diffstat (limited to 'gnu-toolchain/ccache.bst')
-rw-r--r-- | gnu-toolchain/ccache.bst | 28 |
1 files changed, 28 insertions, 0 deletions
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 |