]>
Commit | Line | Data |
---|---|---|
37bc2396 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
37bc2396 MT |
4 | ############################################################################### |
5 | ||
37bc2396 MT |
6 | # XXX man pages are missing |
7 | # XXX initscripts for daemons are missing | |
8 | ||
802ea3af MT |
9 | name = icecream |
10 | version = 0.9.6 | |
11 | release = 3 | |
37bc2396 | 12 | |
802ea3af MT |
13 | maintainer = Michael Tremer <michael.tremer@ipfire.org> |
14 | groups = Development/Compilers | |
15 | url = http://en.opensuse.org/Icecream | |
16 | license = GPLv2+ | |
17 | summary = Distributed compiler. | |
37bc2396 | 18 | |
37bc2396 | 19 | |
802ea3af | 20 | description |
37bc2396 MT |
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. | |
802ea3af MT |
28 | end |
29 | ||
30 | source_dl = | |
31 | sources = icecc-%{version}.tar.bz2 | |
32 | ||
33 | build | |
34 | requires | |
35 | gcc-c++ | |
36 | end | |
37 | ||
38 | DIR_APP = %{DIR_SRC}/icecc-%{version} | |
37bc2396 | 39 | |
802ea3af MT |
40 | configure_options += \ |
41 | --disable-static \ | |
42 | --enable-shared | |
37bc2396 | 43 | |
802ea3af MT |
44 | install_cmds |
45 | ICECREAM_TARGET_PLATFORM=$(echo %{DISTRO_MACHINE} | sed -e "s/-gnu//g") | |
37bc2396 | 46 | |
802ea3af MT |
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} | |
51 | done | |
52 | sed -e 's|^#!.*|#!/bin/bash|' -i %{BUILDROOT}/usr/lib/icecc/icecc-create-env | |
37bc2396 | 53 | |
802ea3af MT |
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 | |
37bc2396 | 57 | |
802ea3af MT |
58 | # create default working dir |
59 | mkdir -pv %{BUILDROOT}/var/cache/icecream | |
60 | end | |
61 | end | |
37bc2396 | 62 | |
802ea3af MT |
63 | packages |
64 | package %{name} | |
65 | requires = gcc-c++ /usr/bin/ldd | |
66 | end | |
67 | ||
68 | package %{name}-devel | |
69 | template DEVEL | |
70 | end | |
71 | end |