summaryrefslogtreecommitdiff
path: root/community/distcc/PKGBUILD
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-26 15:13:41 -0500
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-26 15:13:41 -0500
commitd26fb8dc20ba3b0e6ef535761b3ac5fd8e7b7c70 (patch)
treeae84713aa59e8e2eaa4a2a19db89294ea0b4c1cf /community/distcc/PKGBUILD
parent2095d71af1b9e0c1dff405c178a9481d1020ca3e (diff)
parent8999fa1750304fb2367fb7743e49e013405e88be (diff)
Merge branch 'master' of vparabola:~/abslibre-pre-mips64el
Conflicts: community/distcc/PKGBUILD community/lxtask/PKGBUILD community/ushare/PKGBUILD extra/catdoc/PKGBUILD extra/curl/PKGBUILD extra/ethstatus/PKGBUILD extra/ffcall/PKGBUILD extra/gimp-dbp/PKGBUILD extra/gimp-refocus/PKGBUILD extra/gstreamer0.10-ugly/PKGBUILD extra/metacity/PKGBUILD extra/pulseaudio/PKGBUILD extra/x2x/PKGBUILD libre/kernel26-libre/PKGBUILD multilib/lib32-libpulse/PKGBUILD multilib/wine/PKGBUILD testing/alex/PKGBUILD testing/ghc/PKGBUILD testing/haskell-cgi/PKGBUILD testing/haskell-deepseq/PKGBUILD testing/haskell-fgl/PKGBUILD testing/haskell-glut/PKGBUILD testing/haskell-haskell-src/PKGBUILD testing/haskell-html/PKGBUILD testing/haskell-http/PKGBUILD testing/haskell-hunit/PKGBUILD testing/haskell-mtl/PKGBUILD testing/haskell-network/PKGBUILD testing/haskell-opengl/PKGBUILD testing/haskell-parallel/PKGBUILD testing/haskell-parsec/PKGBUILD testing/haskell-platform/PKGBUILD testing/haskell-quickcheck/PKGBUILD testing/haskell-regex-base/PKGBUILD testing/haskell-regex-compat/PKGBUILD testing/haskell-regex-posix/PKGBUILD testing/haskell-stm/PKGBUILD testing/haskell-syb/PKGBUILD testing/haskell-text/PKGBUILD testing/haskell-transformers/PKGBUILD testing/haskell-xhtml/PKGBUILD testing/haskell-zlib/PKGBUILD testing/perl/ChangeLog testing/perl/PKGBUILD testing/perl/perlbin.sh testing/pidgin/PKGBUILD testing/spamassassin/PKGBUILD
Diffstat (limited to 'community/distcc/PKGBUILD')
-rw-r--r--community/distcc/PKGBUILD23
1 files changed, 13 insertions, 10 deletions
diff --git a/community/distcc/PKGBUILD b/community/distcc/PKGBUILD
index 223fd2350..8023fb7eb 100644
--- a/community/distcc/PKGBUILD
+++ b/community/distcc/PKGBUILD
@@ -1,16 +1,17 @@
-# $Id: PKGBUILD 59085 2009-11-20 06:29:43Z giovanni $
+# $Id: PKGBUILD 50002 2011-06-23 09:01:13Z spupykin $
# Maintainer: Judd Vinet <jvinet@zeroflux.org>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
pkgname=distcc
pkgver=3.1
-pkgrel=4
+pkgrel=4.1
pkgdesc="A distributed C, C++, Obj C compiler"
arch=('i686' 'x86_64' 'mips64el')
url="http://code.google.com/p/distcc/"
license=('GPL')
depends=('gcc' 'popt')
-makedepends=('pkgconfig' 'python2')
+makedepends=('gtk2' 'pkgconfig')
+optdepends=('gtk2: for distccmon-gnome')
backup=(etc/conf.d/distccd)
source=(http://distcc.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2
distccd
@@ -21,14 +22,16 @@ md5sums=('a1a9d3853df7133669fffec2a9aab9f3'
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- sed -i "s/\(python2\).*$/\1/" configure
- ./configure --prefix=/usr \
- --disable-Werror \
- --without-gtk \
+ [ -f Makefile ] || ./configure --prefix=/usr \
+ --with-gtk \
--sysconfdir=/etc \
- --mandir=/usr/share/man || return 1
- make || return 1
- make DESTDIR="${pkgdir}/" install || return 1
+ --mandir=/usr/share/man
+ make WERROR_CFLAGS= INCLUDESERVER_PYTHON=/usr/bin/python2
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}/" INCLUDESERVER_PYTHON=/usr/bin/python2 install
install -D -m644 ${srcdir}/distccd.conf.d ${pkgdir}/etc/conf.d/distccd
install -D -m755 ${srcdir}/distccd ${pkgdir}/etc/rc.d/distccd