|
|
@@ -41,7 +41,7 @@ Source0: http://curl.haxx.se/download/curl-%{version}.tar.bz2
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
BuildRoot: %{l_buildroot}
|
|
|
-BuildPreReq: OpenPKG, openpkg >= 20020206, openssl
|
|
|
+BuildPreReq: OpenPKG, openpkg >= 20020206, openssl, make
|
|
|
PreReq: OpenPKG, openpkg >= 20020206
|
|
|
AutoReq: no
|
|
|
AutoReqProv: no
|
|
|
@@ -64,14 +64,14 @@ AutoReqProv: no
|
|
|
LDFLAGS="-L%{l_prefix}/lib" \
|
|
|
./configure \
|
|
|
--cache-file=config.cache \
|
|
|
- --prefix=$RPM_BUILD_ROOT%{l_prefix} \
|
|
|
+ --prefix=%{l_prefix} \
|
|
|
--with-ssl=%{l_prefix} \
|
|
|
--disable-shared
|
|
|
%{l_make} %{l_mflags -O}
|
|
|
|
|
|
%install
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
- %{l_make} %{l_mflags} install
|
|
|
+ %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
|
|
|
strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
|
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
|
|
|
|