From 9a07613aca7fb483fe4e834c4ef611c777fbe721 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Thu, 10 Jan 2019 20:55:36 +0100 Subject: [PATCH] chroot-distcc: remove MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jürgen Buchmüller --- srcpkgs/chroot-distcc/template | 45 ---------------------------------- 1 file changed, 45 deletions(-) delete mode 100644 srcpkgs/chroot-distcc/template diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template deleted file mode 100644 index 7c464c661f4..00000000000 --- a/srcpkgs/chroot-distcc/template +++ /dev/null @@ -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 " -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 -}