diff options
author | David Spencer <baildon.research@googlemail.com> | 2015-07-27 20:49:06 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-17 09:40:16 +0700 |
commit | d3dde447c0da175d3d914ef8ee706ae8e92dc408 (patch) | |
tree | bbf52c16c9406e03092ff351e04a17a657025aac | |
parent | 3b95e6bb7ad506a0648ffcac30f8d4c76d6e07ff (diff) | |
download | slackbuilds-d3dde447c0da175d3d914ef8ee706ae8e92dc408.tar.gz |
network/kadu: Modified SlackBuild.
Fixed build with cmake-3.1, and tidy-ups.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
-rw-r--r-- | network/kadu/kadu.SlackBuild | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/network/kadu/kadu.SlackBuild b/network/kadu/kadu.SlackBuild index 83402980ec..b24650c777 100644 --- a/network/kadu/kadu.SlackBuild +++ b/network/kadu/kadu.SlackBuild @@ -49,9 +49,10 @@ find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; patch -p1 < $CWD/kadu.patch + mkdir -p build cd build cmake .. \ @@ -76,11 +77,11 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true # Remove all license files -find $(INSTALL_DIR) -name '[lL][iI][cC][eE][nN][sS][eE].txt' -delete +find "$PKG" -name '[lL][iI][cC][eE][nN][sS][eE].txt' -delete # Move cmake files in the proper place mv $PKG/usr/share/cmake \ - $PKG/usr/share/cmake-$(cmake --version | cut -d\ -f3 | cut -d. -f1-2) + $PKG/usr/share/cmake-$(cmake --version | head -1 | cut -d\ -f3 | cut -d. -f1-2) # Move this away too... mv $PKG/usr/sdk $PKG/usr/share/$PRGNAM/ |