chroot-distcc: remove
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
cb383fbac1
commit
9a07613aca
1 changed files with 0 additions and 45 deletions
|
@ -1,45 +0,0 @@
|
||||||
# Template file for 'chroot-distcc'
|
|
||||||
pkgname=chroot-distcc
|
|
||||||
version=3.3.2
|
|
||||||
revision=1
|
|
||||||
wrksrc=distcc
|
|
||||||
bootstrap=yes
|
|
||||||
build_style=gnu-configure
|
|
||||||
configure_args="--with-included-popt --without-avahi --without-gnome
|
|
||||||
--without-gtk --disable-Werror --disable-pump-mode"
|
|
||||||
make_install_target=install-programs
|
|
||||||
hostmakedepends="automake libtool"
|
|
||||||
makedepends="binutils-devel"
|
|
||||||
short_desc="Distributed compilation for faster C/C++ builds -- for xbps-src use"
|
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
|
||||||
license="GPL-2.0-or-later"
|
|
||||||
homepage="https://distcc.github.io"
|
|
||||||
distfiles="https://github.com/distcc/distcc/releases/download/v${version}/distcc-${version}.tar.gz"
|
|
||||||
checksum=64894de2970c631801d29c9962553673ea7a1d150e6855d7e166d273fca5cdfc
|
|
||||||
|
|
||||||
conflicts="distcc>=0"
|
|
||||||
|
|
||||||
pre_configure() {
|
|
||||||
./autogen.sh
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
|
||||||
local f x
|
|
||||||
# Remove useless files.
|
|
||||||
rm -f ${DESTDIR}/usr/bin/distccd
|
|
||||||
rm -rf ${DESTDIR}/etc
|
|
||||||
rm -rf ${DESTDIR}/usr/share
|
|
||||||
|
|
||||||
# gcc wrappers
|
|
||||||
vmkdir usr/lib/distcc/bin
|
|
||||||
for f in gcc cc c++ g++; do
|
|
||||||
ln -sfr ${DESTDIR}/usr/bin/distcc ${DESTDIR}/usr/lib/distcc/bin/${f}
|
|
||||||
done
|
|
||||||
# cross-gcc wrappers
|
|
||||||
for x in arm-linux-gnueabi arm-linux-gnueabihf armv7l-linux-gnueabihf \
|
|
||||||
arm-linux-musleabihf armv7l-linux-musleabihf; do
|
|
||||||
for f in gcc cc c++ g++; do
|
|
||||||
ln -sfr ${DESTDIR}/usr/bin/distcc ${DESTDIR}/usr/lib/distcc/bin/${x}-${f}
|
|
||||||
done
|
|
||||||
done
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue