mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
community/distcc to 3.3.3-4
This commit is contained in:
parent
78843090b6
commit
640bb1cf9a
1 changed files with 9 additions and 6 deletions
|
@ -2,6 +2,7 @@
|
|||
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
||||
# Contributor: Judd Vinet <jvinet@zeroflux.org>
|
||||
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
|
||||
# Contributor: John <graysky@archlinux.us>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - added --without-avahi to configure
|
||||
|
@ -10,13 +11,13 @@
|
|||
|
||||
pkgname=distcc
|
||||
pkgver=3.3.3
|
||||
pkgrel=2
|
||||
pkgrel=4
|
||||
pkgdesc='Distributed compilation service for C, C++ and Objective-C'
|
||||
arch=(x86_64)
|
||||
url='http://distcc.org'
|
||||
license=(GPL)
|
||||
depends=(popt)
|
||||
makedepends=(git python setconf)
|
||||
makedepends=(git python)
|
||||
optdepends=(python)
|
||||
backup=('etc/conf.d/distccd'
|
||||
'etc/distcc/hosts')
|
||||
|
@ -71,10 +72,12 @@ package() {
|
|||
|
||||
# Symlinks
|
||||
install -d "$pkgdir/usr/lib/$pkgname/bin"
|
||||
for bin in c++ cc cpp g++ gcc; do
|
||||
ln -sf "/usr/bin/$pkgname" "$pkgdir/usr/lib/$pkgname/bin/$bin"
|
||||
# Additional symlinks are needed, see FS#57978
|
||||
ln -sf "/usr/bin/$pkgname" "$pkgdir/usr/lib/$pkgname/$bin"
|
||||
_targets=(c++ c89 c99 cc clang clang++ cpp g++ gcc)
|
||||
for bin in "${_targets[@]}"; do
|
||||
# For whitelist since version 3.3, see FS#57978
|
||||
ln -sf "../../bin/$pkgname" "$pkgdir/usr/lib/$pkgname/$bin"
|
||||
# Needed for makepkg to work
|
||||
ln -sf "../../../bin/$pkgname" "$pkgdir/usr/lib/$pkgname/bin/$bin"
|
||||
done
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue