summaryrefslogtreecommitdiff
path: root/network/nx/nx.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/nx/nx.SlackBuild')
-rw-r--r--network/nx/nx.SlackBuild11
1 files changed, 10 insertions, 1 deletions
diff --git a/network/nx/nx.SlackBuild b/network/nx/nx.SlackBuild
index 12f4ca184e..7863071a72 100644
--- a/network/nx/nx.SlackBuild
+++ b/network/nx/nx.SlackBuild
@@ -30,10 +30,12 @@
# * updates
# 3.5.0-2: 05/jun/2012 by Matteo Bernardini <ponce@slackbuilds.org>
# * updates
+# 3.5.0-3: 11/sep/2012 by Matteo Bernardini <ponce@slackbuilds.org>
+# * Added missing library links
PRGNAM=nx
VERSION=${VERSION:-3.5.0}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -193,6 +195,13 @@ cp -a nxssh/nxssh $PKG/usr/lib${LIBDIRSUFFIX}/NX
cp -a nxesd/nxesd $PKG/usr/lib${LIBDIRSUFFIX}/NX
install -m 0755 nxproxy/nxproxy $PKG/usr/lib${LIBDIRSUFFIX}/NX
+# Add some missing links
+( cd $PKG/usr/lib${LIBDIRSUFFIX}/NX/lib
+ for i in $(ls -1 *.so.?); do
+ ln -s $i $(echo $i | cut -d. -f1-2)
+ done
+ ln -s libXrender.so.1.2.2 libXrender.so.1.2 )
+
# Add documentation:
mkdir -p \
$PKG/usr/doc/$PRGNAM-$VERSION/{nx-X11,nxcomp,nxcompext,nxesd,nxproxy,nxssh}