Browse Source

add optional ARES support

master
parent
commit
2692d505f9
  1. 12
      curl/curl.spec

12
curl/curl.spec

@ -33,12 +33,13 @@ Class: BASE
Group: Web
License: MIT-style
Version: 7.16.0
Release: 20061030
Release: 20061207
# package options
%option with_ssl yes
%option with_zlib yes
%option with_idn no
%option with_ares no
# list of sources
Source0: http://curl.haxx.se/download/curl-%{version}.tar.bz2
@ -60,6 +61,10 @@ PreReq: zlib
BuildPreReq: libidn, pkgconfig
PreReq: libidn
%endif
%if "%{with_ares}" == "yes"
BuildPreReq: ares
PreReq: ares
%endif
AutoReq: no
AutoReqProv: no
@ -118,6 +123,11 @@ AutoReqProv: no
--with-libidn=%{l_prefix} \
%else
--without-libidn \
%endif
%if "%{with_ares}" == "yes"
--enable-ares=%{l_prefix} \
%else
--disable-ares \
%endif
--disable-shared
%{l_make} %{l_mflags -O}

Loading…
Cancel
Save