diff options
author | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2014-04-14 16:02:36 +0000 |
---|---|---|
committer | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2014-04-14 16:13:23 +0000 |
commit | aa85df216ef454a47f2d6d027fcec2400d1083e3 (patch) | |
tree | eb238277d6e9f1c7be5d99043d507d9c0e5961ff /chunks/ccache.morph | |
parent | 519294adf840fd3981a9aafc7744d3fe66301c68 (diff) | |
download | definitions-aa85df216ef454a47f2d6d027fcec2400d1083e3.tar.gz |
Add chunk morphologies to the definitions repository
Diffstat (limited to 'chunks/ccache.morph')
-rw-r--r-- | chunks/ccache.morph | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/chunks/ccache.morph b/chunks/ccache.morph new file mode 100644 index 00000000..56371994 --- /dev/null +++ b/chunks/ccache.morph @@ -0,0 +1,15 @@ +name: ccache +kind: chunk +repo: upstream:ccache +ref: 567631456f0899cdf0c382f898d38aadc8901d32 +unpetrify-ref: baserock/build-essential +build-system: autotools +configure-commands: +- ./configure --prefix="$PREFIX" +install-commands: +- make DESTDIR="$DESTDIR" install +- mkdir -p "$DESTDIR/$PREFIX/lib/ccache" +- for cc in gcc cc g++ c++; do ln -sf "$PREFIX/bin/ccache" "$DESTDIR/$PREFIX/lib/ccache/$cc"; + done +- for cc in gcc cc g++ c++; do ln -sf "$PREFIX/bin/ccache" "$DESTDIR/$PREFIX/lib/ccache/$TARGET-$cc"; + done |