Revision: | 1.7 |
Committed: | Tue May 1 17:56:14 2007 UTC (18 years ago) by elmer |
Branch: | MAIN |
CVS Tags: | CMSSW_1_5_4, CMSSW_1_5_3, dl070725, CMSSW_1_5_2, CMSSW_1_5_1, dl070629t2, dl070629, CMSSW_1_5_0-ignominy470, CMSSW_1_5_0, dl070621, CMSSW_1_5_0_pre6, dl070616, nrFWLITE_150pre5_noseal_newboost, dl070615, dl070614xdaq, dl070614, CMSSW_1_5_0_pre5, dl070602t2, dl070602, CMSSW_1_5_0_pre4, nrFWLITE_150pre4, dl070522_150pre4cand, pe20070522a-ports, CMSSW_1_5_0_pre3, pe20070518c, pe20070519a-ports, pe20070518b, pe20070518a, pe20070517-for150p3ext, pe20070512a-ports, pe20070508a-ports, pe20070507a-ports, CMSSW_1_5_0_pre2, dl070505t4, pe20070501c-ports |
Changes since 1.6: | +0 -1 lines |
Log Message: | Removing more gcc-wrapper stuff |
# | User | Rev | Content |
---|---|---|---|
1 | dlange | 1.5 | ### RPM external fastjet 2.1.0 |
2 | ratnik | 1.1 | Source: http://www.lpthe.jussieu.fr/~salam/repository/software/fastjet/%n-%v.tgz |
3 | %prep | ||
4 | %setup -n %n-%v | ||
5 | |||
6 | %build | ||
7 | cd src | ||
8 | elmer | 1.3 | # The following is a hack, whether it works should be checked whenever |
9 | # the version is updated from 2.1.0b1 | ||
10 | perl -p -i -e "s|CXXFLAGS \+\=|CXXFLAGS += -fPIC|" Makefile | ||
11 | ratnik | 1.1 | make |
12 | make install | ||
13 | dlange | 1.5 | cd ../plugins |
14 | make | ||
15 | make clean | ||
16 | |||
17 | cd ../include/fastjet | ||
18 | find ../../plugins/CDFCones -name "*.hh" -exec ln -sf {} \; | ||
19 | find ../../plugins/SISCone -name "*.hh" -exec ln -sf {} \; | ||
20 | |||
21 | cd ../../lib/ | ||
22 | find ../plugins/CDFCones -name "*.a" -exec mv {} . \; | ||
23 | find ../plugins/SISCone -name "*.a" -exec mv {} . \; | ||
24 | |||
25 | ratnik | 1.1 | |
26 | %install | ||
27 | dlange | 1.5 | |
28 | ratnik | 1.1 | # Take everything including sources, makefiles, documentation and examples (only 16MB). |
29 | gtar -cv ./| gtar -x -C %i |