summaryrefslogtreecommitdiffstats
path: root/patches/source/kdelibs/cmake/kdelibs
diff options
context:
space:
mode:
Diffstat (limited to 'patches/source/kdelibs/cmake/kdelibs')
-rw-r--r--patches/source/kdelibs/cmake/kdelibs17
1 files changed, 17 insertions, 0 deletions
diff --git a/patches/source/kdelibs/cmake/kdelibs b/patches/source/kdelibs/cmake/kdelibs
new file mode 100644
index 00000000..92015a91
--- /dev/null
+++ b/patches/source/kdelibs/cmake/kdelibs
@@ -0,0 +1,17 @@
+mkdir -p build
+cd build
+ cmake \
+ $KDE_OPT_ARGS \
+ -DWITH_HAL=OFF \
+ -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 \
+ -DSYSCONF_INSTALL_DIR=/etc/kde \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DKDE_DISTRIBUTION_TEXT="volkerdi@slackware.com" \
+ ..
+