diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-03-22 09:47:09 +0000 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-03-22 09:47:09 +0000 |
commit | f501976babcc283c7d2ae4bea25e5feefc4b98c2 (patch) | |
tree | b01db0437dae72ebb5efd31f7e08149ca98f37b6 /elements/gnu-toolchain/ccache.bst | |
parent | 24e2b51f2b81b6b48376a5b4facbcddb4caad177 (diff) | |
download | definitions-f501976babcc283c7d2ae4bea25e5feefc4b98c2.tar.gz |
Moved all elements under the elements directory
Diffstat (limited to 'elements/gnu-toolchain/ccache.bst')
-rw-r--r-- | elements/gnu-toolchain/ccache.bst | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/elements/gnu-toolchain/ccache.bst b/elements/gnu-toolchain/ccache.bst new file mode 100644 index 00000000..f66a37ca --- /dev/null +++ b/elements/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 |