diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-12-13 12:01:41 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-12-13 12:14:07 +0700 |
commit | 6bd4bd463f5d3b6c9cd3c0295878edcf35822d12 (patch) | |
tree | 0cd1dc49416b6c811c5ecfae04c17b20dc686f5e | |
parent | 358ceb9fd9da1e17b6d2481f51a3f20fc1f32cf1 (diff) | |
download | slackbuilds-6bd4bd463f5d3b6c9cd3c0295878edcf35822d12.tar.gz |
libraries/libkvkontakte: Patched to work with newer cmake.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | libraries/libkvkontakte/README | 2 | ||||
-rw-r--r-- | libraries/libkvkontakte/libkvkontakte.SlackBuild | 6 | ||||
-rw-r--r-- | libraries/libkvkontakte/slack-desc | 2 |
3 files changed, 7 insertions, 3 deletions
diff --git a/libraries/libkvkontakte/README b/libraries/libkvkontakte/README index 0ab0ce8ac9..47a4c8067b 100644 --- a/libraries/libkvkontakte/README +++ b/libraries/libkvkontakte/README @@ -1 +1 @@ -KDE C++ library for asynchronous interaction with vkontakte.ru social network +KDE C++ library for asynchronous interaction with VK social network diff --git a/libraries/libkvkontakte/libkvkontakte.SlackBuild b/libraries/libkvkontakte/libkvkontakte.SlackBuild index f020b86330..aaf60ad5b9 100644 --- a/libraries/libkvkontakte/libkvkontakte.SlackBuild +++ b/libraries/libkvkontakte/libkvkontakte.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=libkvkontakte VERSION=${VERSION:-4.12.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -69,6 +69,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# Patched to work with newer cmake in current +sed -e "/^cmake_minimum_required/ a cmake_policy(SET CMP0022 OLD)\ncmake_policy(SET CMP0059 OLD)" -i CMakeLists.txt + mkdir -p build cd build cmake \ @@ -77,6 +80,7 @@ cd build -DCMAKE_INSTALL_PREFIX=/usr \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DMAN_INSTALL_DIR=/usr/man \ + -DBUILD_TESTING=OFF \ -DCMAKE_BUILD_TYPE=Release .. make make install DESTDIR=$PKG diff --git a/libraries/libkvkontakte/slack-desc b/libraries/libkvkontakte/slack-desc index b80c32762d..c14cc0a6a7 100644 --- a/libraries/libkvkontakte/slack-desc +++ b/libraries/libkvkontakte/slack-desc @@ -9,7 +9,7 @@ libkvkontakte: libkvkontakte (C++ Library) libkvkontakte: libkvkontakte: KDE C++ library for asynchronous interaction with -libkvkontakte: vkontakte.ru social network +libkvkontakte: VK social network libkvkontakte: libkvkontakte: libkvkontakte: |