|
@@ -37,7 +37,7 @@ Distribution: OpenPKG [EVAL]
|
|
|
Group: Web
|
|
Group: Web
|
|
|
License: Apache Software License 1.1
|
|
License: Apache Software License 1.1
|
|
|
Version: %{V_opkg}
|
|
Version: %{V_opkg}
|
|
|
-Release: 20030113
|
|
|
|
|
|
|
+Release: 20030123
|
|
|
|
|
|
|
|
# package options
|
|
# package options
|
|
|
%option with_threads no
|
|
%option with_threads no
|
|
@@ -49,8 +49,8 @@ Patch0: xalan-c.patch
|
|
|
# build information
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
Prefix: %{l_prefix}
|
|
|
BuildRoot: %{l_buildroot}
|
|
BuildRoot: %{l_buildroot}
|
|
|
-BuildPreReq: OpenPKG, openpkg >= 20030103, autoconf, libtool, gcc, make, xerces-c >= 2.1.0
|
|
|
|
|
-PreReq: OpenPKG, openpkg >= 20030103, xerces-c >= 2.1.0
|
|
|
|
|
|
|
+BuildPreReq: OpenPKG, openpkg >= 1.2.0, autoconf, libtool, gcc33 >= 3.3s20030120, make, xerces-c >= 2.1.0
|
|
|
|
|
+PreReq: OpenPKG, openpkg >= 1.2.0, xerces-c >= 2.1.0
|
|
|
%if "%{with_threads}" == "yes"
|
|
%if "%{with_threads}" == "yes"
|
|
|
BuildPreReq: xerces-c::with_threads = yes
|
|
BuildPreReq: xerces-c::with_threads = yes
|
|
|
PreReq: xerces-c::with_threads = yes
|
|
PreReq: xerces-c::with_threads = yes
|
|
@@ -128,10 +128,10 @@ AutoReqProv: no
|
|
|
;;
|
|
;;
|
|
|
esac ;
|
|
esac ;
|
|
|
%endif
|
|
%endif
|
|
|
- CC="%{l_cc} $cf" \
|
|
|
|
|
- CXX="%{l_cxx} $cf" \
|
|
|
|
|
- CFLAGS="-O0 -g" \
|
|
|
|
|
- CXXFLAGS="-O0 -g" \
|
|
|
|
|
|
|
+ CC="%{l_prefix}/bin/gcc33 $cf" \
|
|
|
|
|
+ CXX="%{l_prefix}/bin/g++33 $cf" \
|
|
|
|
|
+ CFLAGS="%{l_cflags -O}" \
|
|
|
|
|
+ CXXFLAGS="-O0" \
|
|
|
LDFLAGS="%{l_ldflags} $lf" \
|
|
LDFLAGS="%{l_ldflags} $lf" \
|
|
|
./configure \
|
|
./configure \
|
|
|
--prefix=%{l_prefix}
|
|
--prefix=%{l_prefix}
|
|
@@ -147,10 +147,10 @@ AutoReqProv: no
|
|
|
lib/libxalan-c.a $RPM_BUILD_ROOT%{l_prefix}/lib
|
|
lib/libxalan-c.a $RPM_BUILD_ROOT%{l_prefix}/lib
|
|
|
%{l_shtool} mkdir -p -m 755 $RPM_BUILD_ROOT%{l_prefix}/share/xalan-c
|
|
%{l_shtool} mkdir -p -m 755 $RPM_BUILD_ROOT%{l_prefix}/share/xalan-c
|
|
|
( cd c
|
|
( cd c
|
|
|
- for f in `find samples xdocs -type d \( -name CVS -prune -o -print \)`; do
|
|
|
|
|
|
|
+ for f in `find xdocs -type d \( -name CVS -prune -o -print \)`; do
|
|
|
%{l_shtool} mkdir -m 755 $RPM_BUILD_ROOT%{l_prefix}/share/xalan-c/$f
|
|
%{l_shtool} mkdir -m 755 $RPM_BUILD_ROOT%{l_prefix}/share/xalan-c/$f
|
|
|
done
|
|
done
|
|
|
- for f in `find samples xdocs -type d -name CVS -prune -o -type f -print`; do
|
|
|
|
|
|
|
+ for f in `find xdocs -type d -name CVS -prune -o -type f -print`; do
|
|
|
%{l_shtool} install -c -m 644 \
|
|
%{l_shtool} install -c -m 644 \
|
|
|
$f $RPM_BUILD_ROOT%{l_prefix}/share/xalan-c/
|
|
$f $RPM_BUILD_ROOT%{l_prefix}/share/xalan-c/
|
|
|
done
|
|
done
|