From 03423e0583057cbe5a16f8439183e2dbc0e8dd7c Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Mon, 9 Dec 2019 19:17:24 +0300 Subject: secondary commit --- extra/ccache/build | 21 +++++++++++++++++++++ extra/ccache/checksums | 1 + extra/ccache/depends | 1 + extra/ccache/post-install | 10 ++++++++++ extra/ccache/sources | 1 + extra/ccache/version | 1 + 6 files changed, 35 insertions(+) create mode 100755 extra/ccache/build create mode 100644 extra/ccache/checksums create mode 100644 extra/ccache/depends create mode 100755 extra/ccache/post-install create mode 100644 extra/ccache/sources create mode 100644 extra/ccache/version (limited to 'extra/ccache') diff --git a/extra/ccache/build b/extra/ccache/build new file mode 100755 index 00000000..1b063cc2 --- /dev/null +++ b/extra/ccache/build @@ -0,0 +1,21 @@ +#!/bin/sh -e + +./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + +make + +install -Dm 755 ccache "$1/usr/bin/ccache" +install -Dm 644 doc/ccache.1 "$1/usr/share/man/man1/ccache.1" + +mkdir -p "$1/usr/lib/ccache/bin" + +triplet=$(cc -dumpmachine) + +for link in cc gcc g++ cpp c++ "$triplet-cc" "$triplet-gcc" \ + "$triplet-g++" "$triplet-cpp" "$triplet-c++"; do + ln -sf /usr/bin/ccache "$1/usr/lib/ccache/bin/$link" +done diff --git a/extra/ccache/checksums b/extra/ccache/checksums new file mode 100644 index 00000000..37379cb0 --- /dev/null +++ b/extra/ccache/checksums @@ -0,0 +1 @@ +73e2633ac9bca387b5a39c72a8f85634670c4091dab639228c433898163c86c0 ccache-3.7.6.tar.xz diff --git a/extra/ccache/depends b/extra/ccache/depends new file mode 100644 index 00000000..f22003e8 --- /dev/null +++ b/extra/ccache/depends @@ -0,0 +1 @@ +zlib diff --git a/extra/ccache/post-install b/extra/ccache/post-install new file mode 100755 index 00000000..75fdb200 --- /dev/null +++ b/extra/ccache/post-install @@ -0,0 +1,10 @@ +#!/bin/sh + +cat < export PATH=/usr/lib/ccache/bin:\$PATH + +EOF diff --git a/extra/ccache/sources b/extra/ccache/sources new file mode 100644 index 00000000..4bb82721 --- /dev/null +++ b/extra/ccache/sources @@ -0,0 +1 @@ +https://github.com/ccache/ccache/releases/download/v3.7.6/ccache-3.7.6.tar.xz diff --git a/extra/ccache/version b/extra/ccache/version new file mode 100644 index 00000000..d8833805 --- /dev/null +++ b/extra/ccache/version @@ -0,0 +1 @@ +3.7.6 1 -- cgit v1.2.3