1SUMMARY="Distribute compilation of C code across several machines on a network" 2DESCRIPTION="distcc is a program to distribute builds of C, C++, Objective C or Objective \ 3C++ code across several machines on a network. distcc should always generate \ 4the same results as a local build, is simple to install and use, and is \ 5usually much faster than a local compile. 6 7distcc does not require all machines to share a filesystem, have synchronized \ 8clocks, or to have the same libraries or header files installed. They can even \ 9have different processors or operating systems, if cross-compilers are \ 10installed." 11HOMEPAGE="http://distcc.org/" 12COPYRIGHT="2002-2004 by Martin Pool 13 2005 Google Inc." 14LICENSE="GNU GPL v2" 15REVISION="2" 16SOURCE_URI="https://github.com/distcc/distcc/archive/v$portVersion.tar.gz" 17CHECKSUM_SHA256="13a4b3ce49dfc853a3de550f6ccac583413946b3a2fa778ddf503a9edc8059b0" 18SOURCE_DIR="distcc-$portVersion" 19SOURCE_FILENAME="distcc-v$portVersion.tar.gz" 20PATCHES="distcc-$portVersion.patchset" 21 22ARCHITECTURES="all !x86_gcc2 ?x86" 23SECONDARY_ARCHITECTURES="x86" 24 25PYTHON_VERSION="3.9" 26 27GLOBAL_WRITABLE_FILES=" 28 settings/default/distcc keep-old 29 settings/distcc/hosts keep-old 30 settings/distcc/clients.allow keep-old 31 settings/distcc/commands.allow.sh keep-old 32 " 33 34PROVIDES=" 35 distcc$secondaryArchSuffix = $portVersion 36 cmd:distcc$secondaryArchSuffix = $portVersion 37 cmd:distccd$secondaryArchSuffix = $portVersion 38 cmd:distccmon_text$secondaryArchSuffix = $portVersion 39 cmd:lsdistcc$secondaryArchSuffix = $portVersion 40 cmd:pump$secondaryArchSuffix =$portVersion 41 cmd:update_distcc_symlinks$secondaryArchSuffix = $portVersion 42 " 43REQUIRES=" 44 haiku$secondaryArchSuffix 45 lib:libpopt$secondaryArchSuffix 46 lib:libpython${PYTHON_VERSION}$secondaryArchSuffix 47 " 48 49BUILD_REQUIRES=" 50 haiku${secondaryArchSuffix}_devel 51 devel:libpopt$secondaryArchSuffix 52 devel:libpython${PYTHON_VERSION}$secondaryArchSuffix 53 " 54BUILD_PREREQUIRES=" 55 cmd:aclocal 56 cmd:autoconf 57 cmd:g++$secondaryArchSuffix 58 cmd:gcc$secondaryArchSuffix 59 #cmd:gdb # for testing 60 cmd:libtoolize$secondaryArchSuffix 61 cmd:make 62 cmd:which 63 " 64 65BUILD() 66{ 67 libtoolize --copy --force --install 68 ./autogen.sh 69 export CFLAGS="-DB_USE_POSITIVE_POSIX_ERRORS -D_BSD_SOURCE" 70 export LDFLAGS="-lbsd -lposix_error_mapper -L`python${PYTHON_VERSION}-config --prefix`/lib/python${PYTHON_VERSION}/config" 71 runConfigure ./configure \ 72 --disable-Werror \ 73 --without-libiberty 74 make $jobArgs 75} 76 77INSTALL() 78{ 79 make install 80} 81 82TEST() 83{ 84 make check RESTRICTED_PATH=/sources/distcc-${portVersion}:/bin 85} 86