clang-distcc-bindings: initial import
This commit is contained in:
parent
33243318a3
commit
6aaa53dc64
6
clang-distcc-bindings/.footprint
Normal file
6
clang-distcc-bindings/.footprint
Normal file
@ -0,0 +1,6 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
drwxr-xr-x root/root usr/lib/distcc/
|
||||
lrwxrwxrwx root/root usr/lib/distcc/clang -> ../../bin/distcc
|
||||
lrwxrwxrwx root/root usr/lib/distcc/clang++ -> ../../bin/distcc
|
||||
lrwxrwxrwx root/root usr/lib/distcc/clang-7.0 -> ../../bin/distcc
|
4
clang-distcc-bindings/.signature
Normal file
4
clang-distcc-bindings/.signature
Normal file
@ -0,0 +1,4 @@
|
||||
untrusted comment: verify with /etc/ports/opt.pub
|
||||
RWSE3ohX2g5d/cBbDcDlI05MavdWG9qu8Vho2LCsc3dVmNPM2Csf2Q1+uYGKdKVS5g7D09iPPizu7F4TRxiqABz5x8NU3ldYpAs=
|
||||
SHA256 (Pkgfile) = b4f8df9ca6bff084e1cdec085f8de9cd57b5b3688ec206660008bde10f57877e
|
||||
SHA256 (.footprint) = 6c9d835c5b3735430033ca6db1b1e579911a4e5e0fcdf9a24fc8922817f1576d
|
24
clang-distcc-bindings/Pkgfile
Normal file
24
clang-distcc-bindings/Pkgfile
Normal file
@ -0,0 +1,24 @@
|
||||
# Description: Masquerade directory to use distcc with clang.
|
||||
# URL: http://gcc.gnu.org/
|
||||
# Maintainer: Danny Rawlins, crux at romster dot me
|
||||
# Depends on: clang distcc
|
||||
|
||||
name=clang-distcc-bindings
|
||||
version=1
|
||||
release=2
|
||||
source=()
|
||||
|
||||
build() {
|
||||
install -d $PKG/usr/lib/distcc
|
||||
|
||||
local clang="$(clang++ -v 2>&1 | grep version | sed 's/.*version \([0-9]*.[0-9]*\).[0-9]* .*/\1/g')"
|
||||
|
||||
if [ -z $clang ]; then
|
||||
echo 'Failed to find clang version'
|
||||
exit 1
|
||||
fi
|
||||
|
||||
ln -s ../../bin/distcc $PKG/usr/lib/distcc/clang
|
||||
ln -s ../../bin/distcc $PKG/usr/lib/distcc/clang-$clang
|
||||
ln -s ../../bin/distcc $PKG/usr/lib/distcc/clang++
|
||||
}
|
Loading…
Reference in New Issue
Block a user