community/distcc to 3.2rc1-4

This commit is contained in:
Kevin Mihelich 2018-01-11 13:43:39 +00:00
parent a026421820
commit 8ffcb63f4c

View file

@ -11,7 +11,7 @@
pkgname=distcc
pkgver=3.2rc1
pkgrel=3
pkgrel=4
pkgdesc='Distributed C, C++ and Objective-C compiler'
arch=('x86_64')
url='https://github.com/distcc/distcc'
@ -42,10 +42,10 @@ build() {
[ -f Makefile ] || PYTHON=/usr/bin/python2 \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--enable-rfc2553 \
--without-avahi
--sysconfdir=/etc \
--mandir=/usr/share/man \
--enable-rfc2553 \
--without-avahi
make WERROR_CFLAGS= INCLUDESERVER_PYTHON=/usr/bin/python2
}
@ -55,13 +55,13 @@ package() {
make DESTDIR="$pkgdir" INCLUDESERVER_PYTHON=/usr/bin/python2 install
install -Dm644 "$srcdir/distccd.conf.d" "$pkgdir/etc/conf.d/distccd"
install -Dm644 "$srcdir/distccd.service" \
"$pkgdir/usr/lib/systemd/system/distccd.service"
install -d "$pkgdir/usr/lib/$pkgname/bin"
for bin in cc gcc g++ c++ cpp; do
for bin in c++ cc cpp g++ gcc; do
ln -sf "/usr/bin/$pkgname" "$pkgdir/usr/lib/$pkgname/bin/$bin"
done
install -Dm644 "$srcdir/distccd.conf.d" "$pkgdir/etc/conf.d/distccd"
install -Dm644 "$srcdir/distccd.service" "$pkgdir/usr/lib/systemd/system/distccd.service"
}
# vim:set ts=2 sw=2 et:
# vim: ts=2 sw=2 et: