1 |
eulisse |
1.14 |
### RPM external sqlite 3.4.0-wt1
|
2 |
elmer |
1.11 |
Source: http://www.sqlite.org/%{n}-%{realversion}.tar.gz
|
3 |
eulisse |
1.14 |
Patch1: sqlite_%{realversion}_readline_for_32bit_on_64bit_build
|
4 |
elmer |
1.11 |
|
5 |
|
|
%prep
|
6 |
|
|
%setup -n %n-%{realversion}
|
7 |
elmer |
1.12 |
# The following hack and patch are there because the libreadline.so soft
|
8 |
|
|
# link is missing from the 32-bit compatibility area on the 64-bit build
|
9 |
|
|
# machines and apparently they don't have a -devel build with it. It
|
10 |
|
|
# definitely should be reviewed at some point.
|
11 |
eulisse |
1.14 |
%patch1 -p1
|
12 |
elmer |
1.12 |
mkdir .libs
|
13 |
|
|
ln -s /usr/lib/libreadline.so.4.3 .libs/libreadline.so
|
14 |
elmer |
1.11 |
|
15 |
eulisse |
1.1 |
%build
|
16 |
|
|
./configure --prefix=%i --disable-tcl
|
17 |
eulisse |
1.2 |
make %makeprocesses
|