Revision: | 1.3 |
Committed: | Thu Jul 12 10:16:31 2012 UTC (12 years, 9 months ago) by eulisse |
Branch: | MAIN |
CVS Tags: | davidlt_20120715_1023-60X-osx107, davidlt_20120715_1022-60X-slc6, davidlt_20120715_1021-60X-gcc470, davidlt_20120715_1021-60X, davidlt_20120714_2227-60X-osx107, davidlt_20120714_2232-60X-slc6, davidlt_20120714_2228-60X-gcc470, davidlt_20120714_2229-60X |
Changes since 1.2: | +12 -11 lines |
Log Message: | Add back to repository and use the new 1.9 version. |
# | User | Rev | Content |
---|---|---|---|
1 | eulisse | 1.3 | ### RPM external lcov 1.9 |
2 | ## NOCOMPILER | ||
3 | eulisse | 1.1 | Source: http://heanet.dl.sourceforge.net/sourceforge/ltp/%n-%realversion.tar.gz |
4 | Patch0: lcov-merge-files-in-same-dir | ||
5 | |||
6 | %prep | ||
7 | %setup -n %n-%realversion | ||
8 | %patch0 -p1 | ||
9 | |||
10 | %build | ||
11 | make %makeprocesses | ||
12 | |||
13 | %install | ||
14 | eulisse | 1.3 | make PREFIX=%i BIN_DIR=%i/bin install |
15 | eulisse | 1.1 | # SCRAM ToolBox toolfile |
16 | mkdir -p %i/etc/scram.d | ||
17 | eulisse | 1.3 | cat << \EOF_TOOLFILE >%i/etc/scram.d/%n.xml |
18 | <tool name="lcov" version="%v"> | ||
19 | <info url="http://ltp.sourceforge.net/coverage/lcov.php"/> | ||
20 | <client> | ||
21 | <environment name="LCOV_BASE" default="%i"/> | ||
22 | </client> | ||
23 | <runtime name="PATH" value="$LCOV_BASE/bin" type="path"/> | ||
24 | </tool> | ||
25 | eulisse | 1.1 | EOF_TOOLFILE |
26 | |||
27 | %post | ||
28 | eulisse | 1.3 | %{relocateConfig}etc/scram.d/%n.xml |