Added code to create compiler-related symlinks in base/ccache and net/distcc

This commit is contained in:
PktSurf 2023-04-03 22:50:38 +05:30
parent 2140c7271e
commit c2682f0c26
2 changed files with 21 additions and 2 deletions

View file

@ -1,6 +1,6 @@
app=ccache
version=3.7.9
build=1sml
build=2sml
homepage="https://ccache.dev/"
download="https://github.com/ccache/ccache/releases/download/v$version/ccache-$version.tar.xz"
desc="Compiler cache to speed up re-compilation of C/C++ code by caching previous compiles"
@ -25,6 +25,16 @@ build() {
cp GPL* $pkgdocs/
# Make some necessary symlinks
mkdir -p $pkg/lib/ccache
(
cd $pkg/lib/ccache
ln -sf ../../bin/ccache gcc
ln -sf ../../bin/ccache g++
ln -sf ../../bin/ccache cc
ln -sf ../../bin/ccache c++
)
mkfinalpkg
}

View file

@ -1,6 +1,6 @@
app=distcc
version=3.4
build=1sml
build=2sml
homepage="https://distcc.github.io/"
download="https://github.com/distcc/distcc/releases/download/v$version/distcc-$version.tar.gz"
desc="Distributed C and C++ compiler daemon for parallel building"
@ -30,6 +30,15 @@ build() {
cp COPYING $pkgdocs/
mkdir -p $pkg/lib/distcc
(
cd $pkg/lib/distcc
ln -sf ../../bin/distcc gcc
ln -sf ../../bin/distcc cc
ln -sf ../../bin/distcc g++
ln -sf ../../bin/distcc c++
)
mkfinalpkg
}