Revision: | 1.5 |
Committed: | Wed Apr 18 23:46:01 2007 UTC (18 years ago) by ratnik |
Branch: | MAIN |
CVS Tags: | pe20070428a-ports, pe20070423b-ports, pe20070423a-ports |
Changes since 1.4: | +2 -0 lines |
Log Message: | Changes for building externals in 64/32 mode: added gcc-wrapper . |
# | User | Rev | Content |
---|---|---|---|
1 | eulisse | 1.1 | ### RPM external dcap 1.2.35 |
2 | ratnik | 1.5 | Requires: gcc-wrapper |
3 | eulisse | 1.1 | # Fakes the presence of dcap since we are not allowed to distribute it. |
4 | Source: http://service-spi.web.cern.ch/service-spi/external/tarFiles/%n-%v.tar.gz | ||
5 | Patch: http://service-spi.web.cern.ch/service-spi/external/tarFiles/%n-%v.patch | ||
6 | eulisse | 1.4 | %define cpu %(echo %cmsplatf | cut -d_ -f2) |
7 | %if "%cpu" != "amd64" | ||
8 | %define libsuffix %{nil} | ||
9 | %else | ||
10 | %define libsuffix ()(64bit) | ||
11 | %endif | ||
12 | |||
13 | Provides: libdcap.so%{libsuffix} | ||
14 | Provides: libpdcap.so%{libsuffix} | ||
15 | eulisse | 1.1 | %prep |
16 | %setup -n %n-%v | ||
17 | %patch0 -p1 | ||
18 | %build | ||
19 | ratnik | 1.5 | ## IMPORT gcc-wrapper |
20 | eulisse | 1.1 | make BIN_PATH=%i %makeprocesses |
21 | %install | ||
22 | eulisse | 1.2 | make BIN_PATH=%i install |
23 | eulisse | 1.3 | # |