2012-09-26 03:10:42 +02:00
|
|
|
# Set 'vendorarch' (install location for vendor shipped
|
|
|
|
# architecture dependent perl modules):
|
|
|
|
eval $(perl '-V:vendorarch')
|
|
|
|
|
|
|
|
mkdir -p build
|
|
|
|
cd build
|
|
|
|
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 \
|
|
|
|
-DCUSTOM_PERL_SITE_ARCH_DIR=$vendorarch \
|
2018-05-28 21:12:29 +02:00
|
|
|
-DQSCINTILLA_LIBRARY=/usr/lib$LIBDIRSUFFIX/libqscintilla2_qt4.so \
|
2012-09-26 03:10:42 +02:00
|
|
|
-DSYSCONF_INSTALL_DIR=/etc/kde \
|
|
|
|
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
|
|
|
|
..
|
|
|
|
|