Files
haikuports/sys-devel/distcc/distcc-3.1.recipe
Adrien Destugues 574085e273 Turn distcc into recipe format.
* Not tested, a bug in haikuporter prevents from building it
 * the tests fail on haiku because a path is hardcoded to /usr/include
in them. an upstream issue has been opened.
2013-10-02 09:00:55 +02:00

76 lines
1.8 KiB
Plaintext

SUMMARY="Distribute compilation of C code across several machines on a network"
HOMEPAGE="http://distcc.org/"
COPYRIGHT="Copyright (C) 2002, 2003, 2004 by Martin Pool <mbp@samba.org>
Portions Copyright 2005 Google Inc."
LICENSE="GNU GPL v2"
SRC_URI="http://distcc.googlecode.com/files/distcc-3.1.tar.bz2"
CHECKSUM_MD5="a1a9d3853df7133669fffec2a9aab9f3"
REVISION="1"
ARCHITECTURES="?x86_gcc2 ?x86"
PROVIDES="
distcc = $portVersion
cmd:distcc = $portVersion
cmd:distccd = $portVersion
cmd:distccmon_text = $portVersion
cmd:lsdistcc = $portVersion
cmd:pump =$portVersion
"
GLOBAL_WRITABLE_FILES="
settings/default/distcc keep-old
settings/distcc/hosts keep-old
settings/distcc/clients.allow keep-old
settings/distcc/commands.allow.sh keep-old
"
REQUIRES="
haiku
lib:libpython2.6
"
# second part only for tests. Where to put that ?
BUILD_REQUIRES="
devel:libpython2.6
"
BUILD_PREREQUIRES="
cmd:libtoolize
cmd:which
cmd:aclocal
cmd:autoconf
cmd:gcc
cmd:gdb
cmd:g++
cmd:make
"
PATCHES="distcc-3.1.patchset"
BUILD()
{
libtoolize --copy --force --install
./autogen.sh
runConfigure ./configure \
LDFLAGS=-L/boot/common/lib/python2.6/config
make $jobArgs
}
INSTALL()
{
make install
}
TEST()
{
make check RESTRICTED_PATH=/sources/distcc-3.3:/boot/common/develop/tools/bin:/bin
}
DESCRIPTION="
distcc is a program to distribute builds of C, C++, Objective C or Objective C++ code
across several machines on a network. distcc should always generate the same results
as a local build, is simple to install and use, and is usually much faster than a local compile.
distcc does not require all machines to share a filesystem, have synchronized clocks,
or to have the same libraries or header files installed. They can even have different
processors or operating systems, if cross-compilers are installed.
"