Revision: | 1.1 |
Committed: | Fri Jun 17 10:33:47 2011 UTC (13 years, 10 months ago) by eulisse |
Branch: | MAIN |
Log Message: | Initial commit. Requested by some guy at FNAL for his analysis. Approved by Pete. |
# | User | Rev | Content |
---|---|---|---|
1 | eulisse | 1.1 | ### RPM external protobuf 2.4.1 |
2 | Source: http://protobuf.googlecode.com/files/protobuf-%realversion.tar.bz2 | ||
3 | Requires: zlib | ||
4 | |||
5 | %prep | ||
6 | %setup -n protobuf-%realversion | ||
7 | |||
8 | %build | ||
9 | ./configure --prefix %{i} \ | ||
10 | CXXFLAGS="-I$ZLIB_ROOT/include" \ | ||
11 | CFLAGS="-I$ZLIB_ROOT/include" \ | ||
12 | LDFLAGS="-L$ZLIB_ROOT/lib" | ||
13 | make %{makeprocesses} | ||
14 | |||
15 | %install | ||
16 | make install |