mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
libraries/wxGTK3: Make --enable-stl optional.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
dab06882e7
commit
ce1c5b174f
2 changed files with 12 additions and 2 deletions
|
@ -5,3 +5,6 @@ platform's controls and utilities.
|
|||
wxGTK3 can be installed alongside with wxGTK.
|
||||
|
||||
webkitgtk3 is an optional dependency of this package.
|
||||
|
||||
NOTE: this package is NOT built using --enable-stl by default.
|
||||
if you need to enable stl, use STL=yes ./wxGTK3.SlackBuild
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
PRGNAM=wxGTK3
|
||||
VERSION=${VERSION:-3.0.1}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
SRCNAM=wxWidgets
|
||||
|
@ -58,6 +58,13 @@ fi
|
|||
|
||||
set -e
|
||||
|
||||
# Check for STL
|
||||
if [ "${STL:-no}" = "yes" ]; then
|
||||
stl="--enable-stl"
|
||||
else
|
||||
stl=""
|
||||
fi
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
|
@ -82,7 +89,7 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
--with-opengl \
|
||||
--enable-graphics_ctx \
|
||||
--with-gtk=3 \
|
||||
--enable-stl \
|
||||
$stl \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make
|
||||
|
|
Loading…
Reference in a new issue