void-packages/srcpkgs/distcc/template

37 lines
1.0 KiB
Plaintext
Raw Normal View History

2013-01-09 16:45:56 +01:00
# Template file for 'distcc'
pkgname=distcc
version=3.2rc1
2013-02-01 11:04:45 +01:00
revision=5
subpackages="distcc-pump"
2013-01-09 16:45:56 +01:00
build_style=gnu-configure
2013-02-01 11:04:45 +01:00
configure_args="--disable-Werror"
2013-01-09 16:45:56 +01:00
makedepends="pkg-config python-devel popt-devel avahi-libs-devel"
short_desc="Distributed compilation for faster C/C++ builds"
maintainer="pancake <pancake@nopcode.org>"
homepage="http://code.google.com/p/distcc"
license="GPL-2"
distfiles="http://distcc.googlecode.com/files/${pkgname}-${version}.tar.bz2"
checksum=311671e844625d7fdb18dd3d096cd855751cfe8de13827682bcb7beff9133b30
2013-02-01 11:04:45 +01:00
conflicts="chroot-distcc>=0"
2013-01-09 16:45:56 +01:00
conf_files="
/etc/distcc/hosts
/etc/distcc/clients.allow"
2013-01-09 16:45:56 +01:00
post_install() {
# Remove useless files.
rm -f ${DESTDIR}/etc/default/distcc
rm -f ${DESTDIR}/etc/distcc/commands.allow.sh
rm -rf ${DESTDIR}/usr/share/doc/distcc/example
# systemd service
vinstall ${FILESDIR}/distccd.service 644 usr/lib/systemd/system
2013-01-16 17:50:40 +01:00
# gcc wrappers
vmkdir usr/lib/distcc/bin
for f in gcc cc c++ cpp g++; do
2013-01-16 17:50:40 +01:00
ln -sfr ${DESTDIR}/usr/bin/distcc ${DESTDIR}/usr/lib/distcc/bin/${f}
done
}