git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40470
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
-mkdir obj-shared-no-gui
-cd obj-shared-no-gui
-../configure --prefix=%{_prefix} \
- --disable-gui \
-%if %{unicode}
- --enable-unicode
-%else
- --disable-unicode
-%endif
-$MAKE
-cd ..
-
mkdir obj-shared
cd obj-shared
../configure --prefix=%{_prefix} \
mkdir obj-shared
cd obj-shared
../configure --prefix=%{_prefix} \
-mkdir obj-static-no-gui
-cd obj-static-no-gui
-../configure --prefix=%{_prefix} \
- --disable-gui \
- --disable-shared \
-%if %{unicode}
- --enable-unicode
-%else
- --disable-unicode
-%endif
-$MAKE
-cd ..
-
mkdir obj-static
cd obj-static
../configure --prefix=%{_prefix} \
mkdir obj-static
cd obj-static
../configure --prefix=%{_prefix} \
%install
rm -rf $RPM_BUILD_ROOT
%install
rm -rf $RPM_BUILD_ROOT
-(cd obj-static-no-gui; make DESTDIR=$RPM_BUILD_ROOT install)
-(cd obj-static; make DESTDIR=$RPM_BUILD_ROOT install)
-(cd obj-shared-no-gui; make DESTDIR=$RPM_BUILD_ROOT install)
-(cd obj-shared; make DESTDIR=$RPM_BUILD_ROOT install)
+(cd obj-static; make DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} install)
+(cd obj-shared; make DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} install)
# --- wxBase headers list begins here ---
cat <<EOF >wxbase-headers.files
# --- wxBase headers list begins here ---
cat <<EOF >wxbase-headers.files