|
|
@@ -34,16 +34,19 @@ Class: EVAL
|
|
|
Group: DNS
|
|
|
License: LGPL
|
|
|
Version: 0.5.5
|
|
|
-Release: 20040914
|
|
|
+Release: 20040917
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://josefsson.org/libidn/releases/libidn-%{version}.tar.gz
|
|
|
+Patch0: libidn.patch
|
|
|
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
BuildRoot: %{l_buildroot}
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20040130
|
|
|
PreReq: OpenPKG, openpkg >= 20040130
|
|
|
+BuildPreReq: libiconv
|
|
|
+PreReq: libiconv
|
|
|
AutoReq: no
|
|
|
AutoReqProv: no
|
|
|
|
|
|
@@ -74,6 +77,7 @@ AutoReqProv: no
|
|
|
|
|
|
%prep
|
|
|
%setup -q
|
|
|
+ %patch -p0
|
|
|
|
|
|
%build
|
|
|
CC="%{l_cc}" \
|
|
|
@@ -83,6 +87,7 @@ AutoReqProv: no
|
|
|
./configure \
|
|
|
--prefix=%{l_prefix} \
|
|
|
--includedir=%{l_prefix}/include/libidn \
|
|
|
+ --with-libiconv-prefix=%{l_prefix} \
|
|
|
--disable-shared \
|
|
|
--disable-nls
|
|
|
%{l_make} %{l_mflags -O}
|