mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
community/distcc to 3.2rc1-4
This commit is contained in:
parent
a026421820
commit
8ffcb63f4c
1 changed files with 10 additions and 10 deletions
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
pkgname=distcc
|
pkgname=distcc
|
||||||
pkgver=3.2rc1
|
pkgver=3.2rc1
|
||||||
pkgrel=3
|
pkgrel=4
|
||||||
pkgdesc='Distributed C, C++ and Objective-C compiler'
|
pkgdesc='Distributed C, C++ and Objective-C compiler'
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url='https://github.com/distcc/distcc'
|
url='https://github.com/distcc/distcc'
|
||||||
|
@ -42,10 +42,10 @@ build() {
|
||||||
[ -f Makefile ] || PYTHON=/usr/bin/python2 \
|
[ -f Makefile ] || PYTHON=/usr/bin/python2 \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--mandir=/usr/share/man \
|
--mandir=/usr/share/man \
|
||||||
--enable-rfc2553 \
|
--enable-rfc2553 \
|
||||||
--without-avahi
|
--without-avahi
|
||||||
|
|
||||||
make WERROR_CFLAGS= INCLUDESERVER_PYTHON=/usr/bin/python2
|
make WERROR_CFLAGS= INCLUDESERVER_PYTHON=/usr/bin/python2
|
||||||
}
|
}
|
||||||
|
@ -55,13 +55,13 @@ package() {
|
||||||
|
|
||||||
make DESTDIR="$pkgdir" INCLUDESERVER_PYTHON=/usr/bin/python2 install
|
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"
|
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"
|
ln -sf "/usr/bin/$pkgname" "$pkgdir/usr/lib/$pkgname/bin/$bin"
|
||||||
done
|
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:
|
||||||
|
|
Loading…
Reference in a new issue