2012-09-26 03:10:42 +02:00
|
|
|
# Set 'vendorarch' (install location for vendor shipped
|
|
|
|
# architecture dependent perl modules):
|
|
|
|
eval $(perl '-V:vendorarch')
|
|
|
|
|
2013-11-04 18:08:47 +01:00
|
|
|
# Likewise for Ruby (note that our "vendordir" is empty, so we use sitedir):
|
|
|
|
ruby_vendorlibdir=$(ruby -rrbconfig -e 'puts Config::CONFIG["sitelibdir"]')
|
|
|
|
ruby_vendorarchdir=$(ruby -rrbconfig -e 'puts Config::CONFIG["sitearchdir"]')
|
|
|
|
|
2012-09-26 03:10:42 +02:00
|
|
|
mkdir -p build
|
|
|
|
cd build
|
|
|
|
#-DCMAKE_BACKWARDS_COMPATIBILITY:STRING="2.2" \
|
|
|
|
cmake \
|
|
|
|
$KDE_OPT_ARGS \
|
|
|
|
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
|
|
|
|
-DCMAKE_C_FLAGS_RELEASE:STRING="$SLKCFLAGS" \
|
|
|
|
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
|
|
|
|
-DCMAKE_CXX_FLAGS_RELEASE:STRING="$SLKCFLAGS" \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DMAN_INSTALL_DIR=/usr/man \
|
2013-11-04 18:08:47 +01:00
|
|
|
-DCUSTOM_PERL_SITE_ARCH_DIR=${vendorarch} \
|
|
|
|
-DRUBY_VENDORARCH_DIR:PATH=${ruby_vendorarchdir} \
|
|
|
|
-DRUBY_VENDORLIB_DIR:PATH=${ruby_vendorlibdir} \
|
2012-09-26 03:10:42 +02:00
|
|
|
-DSYSCONF_INSTALL_DIR=/etc/kde \
|
|
|
|
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
|
|
|
|
-DENABLE_QYOTO:BOOL=OFF \
|
|
|
|
-DENABLE_QSCINTILLA_SHARP:BOOL=OFF \
|
|
|
|
-DENABLE_KIMONO:BOOL=OFF \
|
|
|
|
-DBUILD_csharp:BOOL=OFF \
|
|
|
|
..
|
|
|
|
|