export MAKE="make"
fi
-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} \
$MAKE
cd ../../..
-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} \
%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