From eb3d40c72c9dd19f6a5ef79b41e9d8ba73ccd928 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 1 Sep 2011 23:14:36 +0000 Subject: Thu Sep 1 23:14:36 UTC 2011 --- community/distcc/PKGBUILD | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) (limited to 'community/distcc/PKGBUILD') diff --git a/community/distcc/PKGBUILD b/community/distcc/PKGBUILD index 8aeb60fd5..842d04da9 100644 --- a/community/distcc/PKGBUILD +++ b/community/distcc/PKGBUILD @@ -1,34 +1,42 @@ -# $Id: PKGBUILD 50002 2011-06-23 09:01:13Z spupykin $ +# $Id: PKGBUILD 55020 2011-08-31 13:12:35Z spupykin $ +# Maintainer: Sergej Pupykin # Maintainer: Judd Vinet # Contributor: Giovanni Scafora pkgname=distcc pkgver=3.1 -pkgrel=3 +pkgrel=5 pkgdesc="A distributed C, C++, Obj C compiler" arch=('i686' 'x86_64') url="http://code.google.com/p/distcc/" license=('GPL') depends=('gcc' 'popt') -makedepends=('gtk2' 'pkgconfig') -optdepends=('gtk2: for distccmon-gnome') +makedepends=('gtk2' 'pkgconfig' 'python2') +optdepends=('gtk2: for distccmon-gnome' + 'python2') backup=(etc/conf.d/distccd) -source=(http://distcc.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2 - distccd +source=(http://distcc.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2 + distccd distccd.conf.d) -md5sums=('a1a9d3853df7133669fffec2a9aab9f3' +md5sums=('a1a9d3853df7133669fffec2a9aab9f3' '1c918474372c09304772c20c4de484fa' '89aaf6e9072092e283465a14e83f0f94') build() { cd "${srcdir}/${pkgname}-${pkgver}" - [ -f Makefile ] || ./configure --prefix=/usr \ + + [ -f Makefile ] || PYTHON=/usr/bin/python2 ./configure --prefix=/usr \ --with-gtk \ --sysconfdir=/etc \ --mandir=/usr/share/man make WERROR_CFLAGS= INCLUDESERVER_PYTHON=/usr/bin/python2 } +check() { + cd "${srcdir}/${pkgname}-${pkgver}" +# make TEST_PYTHON=/usr/bin/python2 check +} + package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}/" INCLUDESERVER_PYTHON=/usr/bin/python2 install -- cgit v1.2.3-54-g00ecf