summaryrefslogtreecommitdiff
path: root/network/nx
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-11 19:15:34 +0200
committerMatteo Bernardini <ponce@slackbuilds.org>2012-09-11 19:19:11 +0200
commit7cd3963d4e19c0c1033e673fa2255bbd8fc2e888 (patch)
tree02f2db9410dfeb9febfd1f2827480bf26cdf4f23 /network/nx
parenteea6f9a7268ecf0a00fd7873de30baef217424aa (diff)
downloadslackbuilds-7cd3963d4e19c0c1033e673fa2255bbd8fc2e888.tar.gz
network/nx: Added some missing library links.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'network/nx')
-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}