+dospinwxmgl()
+{
+ echo Making wxMGL tarballs...
+
+ if [ ! -d $WXDEST ]; then
+ mkdir $WXDEST
+ fi
+
+ rm -f -r $WXDEST/wxmgl
+ mkdir $WXDEST/wxmgl
+ mkdir $WXDEST/wxmgl/release
+
+ cd $WXSRC
+ cd locale
+ make allmo
+ cd $WXDEST/wxmgl/release
+ echo Configuring...
+ $WXSRC/configure --no-recursion --with-mgl
+ echo Making...
+ make -j1 dist bzip-dist-only
+ mv $WXDEST/wxmgl/release/*.gz $WXDEST/wxmgl/release/*.bz2 $WXDEST
+}
+
+dospinwxbase()
+{
+ echo Making wxBase tarballs...
+
+ if [ ! -d $WXDEST ]; then
+ mkdir $WXDEST
+ fi
+
+ rm -f -r $WXDEST/wxbase
+ mkdir $WXDEST/wxbase
+ mkdir $WXDEST/wxbase/release
+
+ cd $WXSRC
+ cd locale
+ make allmo
+ cd $WXDEST/wxbase/release
+ echo Configuring...
+ $WXSRC/configure --no-recursion --disable-gui
+ echo Making...
+ make -j1 dist bzip-dist-only
+ mv $WXDEST/wxbase/release/*.gz $WXDEST/wxbase/release/*.bz2 $WXDEST
+}
+