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