summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2013-01-24 12:43:00 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2013-01-24 12:43:00 +0000
commit0827e0b0f9c401b3aac87bb66fdeb81d6bdd6139 (patch)
tree8e44be1a9a2b00ba74f35d2d090683ebf175a236
parentaba40449f5b9b6090d2884200a977abc72db97b1 (diff)
downloadccache-baserock/samthursfield/build-essential-2-rebase.tar.gz
-rw-r--r--ccache.morph14
1 files changed, 14 insertions, 0 deletions
diff --git a/ccache.morph b/ccache.morph
new file mode 100644
index 00000000..9c4e34e3
--- /dev/null
+++ b/ccache.morph
@@ -0,0 +1,14 @@
+{
+ "name": "ccache",
+ "kind": "chunk",
+ "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/$TOOLCHAIN_TARGET-$cc\"; done"
+ ]
+}