Browse Source

l/wxwidgets: Build a monolithic library instead of many smaller

libraries. Build both Unicode and ANSI libraries.
slackware-14.2
Damien Goutte-Gattat 13 years ago
parent
commit
56326c016d
  1. 24
      l/wxwidgets-gtk/wxwidgets-gtk.SlackBuild

24
l/wxwidgets-gtk/wxwidgets-gtk.SlackBuild

@ -30,7 +30,7 @@ WGET=${WGET:-http://kent.dl.sourceforge.net/sourceforge/wxwindows/$ARCHIVE}
# Built package infos
NAMETGZ=${NAMETGZ:-wxwidgets-gtk}
BUILD=${BUILD:-1GGD}
BUILD=${BUILD:-2GGD}
ARCH=${ARCH:-i486}
TARGET=${TARGET:-i486}
@ -78,6 +78,7 @@ CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
./configure \
--prefix=/usr \
--enable-monolithic \
--enable-plugins \
--with-sdl \
--with-opengl \
@ -88,7 +89,26 @@ CXXFLAGS=$CPUOPT \
--enable-controls \
--enable-dataviewctrl \
--enable-tabdialog
make -j 3
make
make install DESTDIR=$PKG
# Compile and install a non-Unicode version
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
./configure \
--prefix=/usr \
--enable-monolithic \
--enable-plugins \
--with-sdl \
--with-opengl \
--enable-stl \
--disable-unicode \
--enable-mediactrl \
--enable-graphics_ctx \
--enable-controls \
--enable-dataviewctrl \
--enable-tabdialog
make
make install DESTDIR=$PKG
# Build contribs

Loading…
Cancel
Save