1 |
< |
### RPM external gmake 3.81-CMS18 |
1 |
> |
### RPM external gmake 3.81 |
2 |
|
# We will call it "gmake", but gnu calls it "make" |
3 |
|
Source: ftp://ftp.gnu.org/gnu/make/make-%realversion.tar.gz |
4 |
|
Patch1: gmake-3.81-expand |
16 |
|
make install |
17 |
|
# Put in the symlink |
18 |
|
cd %{i}/bin |
19 |
< |
ln -s make gmake |
19 |
> |
ln -sf make gmake |
20 |
> |
|
21 |
> |
# SCRAM ToolBox toolfile |
22 |
> |
mkdir -p %i/etc/scram.d |
23 |
> |
cat << \EOF_TOOLFILE >%i/etc/scram.d/%n.xml |
24 |
> |
<tool name="%n" version="%v"> |
25 |
> |
<client> |
26 |
> |
<environment name="MAKE_BASE" default="%i"/> |
27 |
> |
</client> |
28 |
> |
<runtime name="PATH" value="$MAKE_BASE/bin" type="path"/> |
29 |
> |
</tool> |
30 |
> |
EOF_TOOLFILE |
31 |
> |
|
32 |
> |
%post |
33 |
> |
%{relocateConfig}etc/scram.d/%n.xml |
34 |
|
|
21 |
– |
# SCRAM ToolBox toolfile (still to add) |