1 |
lat |
1.1 |
### RPM external classlib 3.1.0
|
2 |
|
|
Source: http://cmsmac01.cern.ch/~lat/exports/%n-%realversion.tar.bz2
|
3 |
|
|
Requires: zlib bz2lib pcre openssl lzo xz
|
4 |
|
|
|
5 |
|
|
%prep
|
6 |
|
|
%setup -n %n-%realversion
|
7 |
|
|
|
8 |
|
|
%build
|
9 |
|
|
./configure --prefix=%i \
|
10 |
|
|
--with-zlib-includes=$ZLIB_ROOT/include \
|
11 |
|
|
--with-zlib-libraries=$ZLIB_ROOT/lib \
|
12 |
|
|
--with-bz2lib-includes=$BZ2LIB_ROOT/include \
|
13 |
|
|
--with-bz2lib-libraries=$BZ2LIB_ROOT/lib \
|
14 |
|
|
--with-pcre-includes=$PCRE_ROOT/include \
|
15 |
|
|
--with-pcre-libraries=$PCRE_ROOT/lib \
|
16 |
|
|
--with-openssl-includes=$OPENSSL_ROOT/include \
|
17 |
|
|
--with-openssl-libraries=$OPENSSL_ROOT/lib \
|
18 |
|
|
--with-lzo-includes=$LZO_ROOT/include \
|
19 |
|
|
--with-lzo-libraries=$LZO_ROOT/lib \
|
20 |
|
|
--with-lzma-includes=$XZ_ROOT/include \
|
21 |
|
|
--with-lzma-libraries=$XZ_ROOT/lib
|
22 |
|
|
|
23 |
|
|
make %makeprocesses
|
24 |
|
|
|
25 |
|
|
%install
|
26 |
|
|
make %makeprocesses install
|