1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
6 # XXX man pages are missing
7 # XXX initscripts for daemons are missing
13 maintainer = Michael Tremer <michael.tremer@ipfire.org>
14 groups = Development/Compilers
15 url = http://en.opensuse.org/Icecream
17 summary = Distributed compiler.
21 Icecream is a distributed compile system. It allows parallel compiling by \
22 distributing the compile jobs to several nodes of a compile network running the \
23 icecc daemon. The icecc scheduler routes the jobs and provides status and \
24 statistics information to the icecc monitor. Each compile node can accept one \
25 or more compile jobs depending on the number of processors and the settings of \
26 the daemon. Link jobs and other jobs which cannot be distributed are executed \
27 locally on the node where the compilation is started.
31 sources = icecc-%{version}.tar.bz2
38 DIR_APP = %{DIR_SRC}/icecc-%{version}
40 configure_options += \
45 ICECREAM_TARGET_PLATFORM=$(echo %{DISTRO_MACHINE} | sed -e "s/-gnu//g")
47 mkdir -pv %{BUILDROOT}/usr/lib/icecc/bin
48 for i in gcc g++ cc c++; do
49 ln -svf ../../../bin/icecc %{BUILDROOT}/usr/lib/icecc/bin/${i}
50 ln -svf ../../../bin/icecc %{BUILDROOT}/usr/lib/icecc/bin/%{ICECREAM_TARGET_PLATFORM}-${i}
52 sed -e 's|^#!.*|#!/bin/bash|' -i %{BUILDROOT}/usr/lib/icecc/icecc-create-env
54 mkdir -pv %{BUILDROOT}/etc/profile.d
55 sed -e "s|@LIBDIR@|/usr/lib|g" \
56 < %{DIR_SOURCE}/icecream.sh > %{BUILDROOT}/etc/profile.d/icecream.sh
58 # create default working dir
59 mkdir -pv %{BUILDROOT}/var/cache/icecream
65 requires = gcc-c++ /usr/bin/ldd