mirror of
https://github.com/SlackBuildsOrg/slackbuilds
synced 2024-09-30 05:39:56 +02:00
network/kadu: Modified SlackBuild.
Fixed build with cmake-3.1, and tidy-ups. Signed-off-by: David Spencer <baildon.research@googlemail.com>
This commit is contained in:
parent
3b95e6bb7a
commit
d3dde447c0
1 changed files with 4 additions and 3 deletions
|
@ -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/
|
||||
|
|
Loading…
Reference in a new issue