1 |
< |
### RPM external cppunit 1.10.2-CMS19 |
1 |
> |
### RPM external cppunit 1.12.1 |
2 |
|
Source0: http://switch.dl.sourceforge.net/sourceforge/%n/%n-%realversion.tar.gz |
3 |
|
Source1: http://spi.cvs.cern.ch:8180/cgi-bin/spi.cgi/*checkout*/Components/UnitTesting/Tools/CppUnit/CppUnit_testdriver.cpp?rev=1.1 |
4 |
|
|
13 |
|
config/ltmain.sh |
14 |
|
;; |
15 |
|
esac |
16 |
+ |
case $(uname) in |
17 |
+ |
Linux ) |
18 |
+ |
# Ugly hack to force -ldl to be linked, which for some reason is |
19 |
+ |
# not currently happening via configure |
20 |
+ |
perl -p -i -e 's|LIBS.*LIBS.*lm|LIBS="$LIBS -lm -ldl|' configure |
21 |
+ |
;; |
22 |
+ |
esac |
23 |
|
./configure --prefix=%i |
24 |
|
make %makeprocesses |
25 |
|
%install |