summaryrefslogtreecommitdiff
path: root/network/nx
diff options
context:
space:
mode:
authorponce <matteo.bernardini@gmail.com>2011-12-21 05:05:36 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-12-22 00:03:03 -0600
commitb7c57f154aea672a93bbfb2d8ee4520d50ee80cb (patch)
tree5d1561fbfc764fbcede025cec3d753e9df9b57c9 /network/nx
parent5a6e3ee4c691b768a981ba772c2c862fc622f3ba (diff)
downloadslackbuilds-b7c57f154aea672a93bbfb2d8ee4520d50ee80cb.tar.gz
network/nx: Updated for version 3.5.0.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'network/nx')
-rw-r--r--network/nx/nx.SlackBuild31
-rw-r--r--network/nx/nx.info48
2 files changed, 43 insertions, 36 deletions
diff --git a/network/nx/nx.SlackBuild b/network/nx/nx.SlackBuild
index 26aefa96b4..59c8d052ed 100644
--- a/network/nx/nx.SlackBuild
+++ b/network/nx/nx.SlackBuild
@@ -26,10 +26,12 @@
# * 3.4.0 updates and adaptations for slackbuilds.org
# 3.4.0-2: 21/feb/2011 by ponce <matteo.bernardini@gmail.com>
# * updates and silent default config
+# 3.5.0-1: 04/nov/2011 by ponce <matteo.bernardini@gmail.com>
+# * updates
PRGNAM=nx
-VERSION=${VERSION:-3.4.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-3.5.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -37,16 +39,16 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-SOURCE[0]="$CWD/nxproxy-${VERSION}-2.tar.gz"
-SOURCE[1]="$CWD/nxcomp-${VERSION}-7.tar.gz"
+SOURCE[0]="$CWD/nxproxy-${VERSION}-1.tar.gz"
+SOURCE[1]="$CWD/nxcomp-${VERSION}-2.tar.gz"
SOURCE[2]="$CWD/nxcompext-${VERSION}-1.tar.gz"
SOURCE[3]="$CWD/nxssh-${VERSION}-2.tar.gz"
-SOURCE[4]="$CWD/nx-X11-${VERSION}-4.tar.gz"
-SOURCE[5]="$CWD/nxwin-${VERSION}-7.tar.gz"
-SOURCE[6]="$CWD/nxauth-${VERSION}-3.tar.gz"
-SOURCE[7]="$CWD/nxagent-${VERSION}-16.tar.gz"
+SOURCE[4]="$CWD/nx-X11-${VERSION}-2.tar.gz"
+SOURCE[5]="$CWD/nxwin-${VERSION}-2.tar.gz"
+SOURCE[6]="$CWD/nxauth-${VERSION}-1.tar.gz"
+SOURCE[7]="$CWD/nxagent-${VERSION}-7.tar.gz"
SOURCE[8]="$CWD/nxesd-${VERSION}-2.tar.gz"
-SOURCE[9]="$CWD/nxcompshad-${VERSION}-3.tar.gz"
+SOURCE[9]="$CWD/nxcompshad-${VERSION}-2.tar.gz"
SOURCE[10]="$CWD/nxscripts-${VERSION}-1.tar.gz"
if [ -z "$ARCH" ]; then
@@ -73,10 +75,10 @@ fi
set -e
-rm -rf $TMP/tmp-$PRGNAM $PKG
-mkdir -p $TMP/tmp-$PRGNAM $PKG $OUTPUT
+rm -rf $TMP/$PRGNAM-$VERSION $PKG
+mkdir -p $TMP/$PRGNAM-$VERSION $PKG $OUTPUT
-cd $TMP/tmp-$PRGNAM
+cd $TMP/$PRGNAM-$VERSION
for (( i = 0; i < ${#SOURCE[*]}; i++ )) ; do tar xvf ${SOURCE[$i]} ; done
chown -R root:root .
@@ -105,6 +107,9 @@ cat >> nx-X11/config/cf/host.def << EOF
EOF
sed -i -e "s|CXXFLAGS=.-O.*|CXXFLAGS=\"$CXXFLAGS\"|" */configure
+sed -i -e "s|CPPFLAGS=.-O.*|CPPFLAGS=\"$CXXFLAGS\"|" */configure
+sed -i -e "s|\"-O3\"|\"$CXXFLAGS\"|" */configure
+sed -i -e "s|\"-g -O3\"|\"$CXXFLAGS\"|" */configure
# Build Compression Library and Proxy
for i in nxcomp nxproxy nxcompshad; do
@@ -153,6 +158,8 @@ cd nxesd
--localstatedir=/var \
--sysconfdir=/etc \
--build=$ARCH-slackware-linux
+ # link to system audiofile libs
+ sed -i "s/AUDIOFILE_LIBS\ =.*/AUDIOFILE_LIBS = -L\/usr\/lib${LIBDIRSUFFIX} -laudiofile -lm/" Makefile
make
cd ..
diff --git a/network/nx/nx.info b/network/nx/nx.info
index 3f4898ee6f..7b53a7433a 100644
--- a/network/nx/nx.info
+++ b/network/nx/nx.info
@@ -1,32 +1,32 @@
PRGNAM="nx"
-VERSION="3.4.0"
+VERSION="3.5.0"
HOMEPAGE="http://www.nomachine.com"
DOWNLOAD="\
- http://64.34.161.181/download/3.4.0/sources/nxproxy-3.4.0-2.tar.gz \
- http://64.34.161.181/download/3.4.0/sources/nxcomp-3.4.0-7.tar.gz \
- http://64.34.161.181/download/3.4.0/sources/nxcompext-3.4.0-1.tar.gz \
- http://64.34.161.181/download/3.4.0/sources/nxssh-3.4.0-2.tar.gz \
- http://64.34.161.181/download/3.4.0/sources/nx-X11-3.4.0-4.tar.gz \
- http://64.34.161.181/download/3.4.0/sources/nxwin-3.4.0-7.tar.gz \
- http://64.34.161.181/download/3.4.0/sources/nxauth-3.4.0-3.tar.gz \
- http://64.34.161.181/download/3.4.0/sources/nxagent-3.4.0-16.tar.gz \
- http://64.34.161.181/download/3.4.0/sources/nxesd-3.4.0-2.tar.gz \
- http://64.34.161.181/download/3.4.0/sources/nxcompshad-3.4.0-3.tar.gz \
- http://64.34.161.181/download/3.4.0/sources/nxscripts-3.4.0-1.tar.gz"
+ http://64.34.161.181/download/3.5.0/sources/nxproxy-3.5.0-1.tar.gz \
+ http://64.34.161.181/download/3.5.0/sources/nxcomp-3.5.0-2.tar.gz \
+ http://64.34.161.181/download/3.5.0/sources/nxcompext-3.5.0-1.tar.gz \
+ http://64.34.161.181/download/3.5.0/sources/nxssh-3.5.0-2.tar.gz \
+ http://64.34.161.181/download/3.5.0/sources/nx-X11-3.5.0-2.tar.gz \
+ http://64.34.161.181/download/3.5.0/sources/nxwin-3.5.0-2.tar.gz \
+ http://64.34.161.181/download/3.5.0/sources/nxauth-3.5.0-1.tar.gz \
+ http://64.34.161.181/download/3.5.0/sources/nxagent-3.5.0-7.tar.gz \
+ http://64.34.161.181/download/3.5.0/sources/nxesd-3.5.0-2.tar.gz \
+ http://64.34.161.181/download/3.5.0/sources/nxcompshad-3.5.0-2.tar.gz \
+ http://64.34.161.181/download/3.5.0/sources/nxscripts-3.5.0-1.tar.gz"
MD5SUM="\
- 95ce93520d463a3d18cdd5d19c321e85 \
- cba926f2b855231a8fc3e0dabff52855 \
- 605a8e2a136f89477f0059a0d2af4582 \
- 18b81d850223ea84de244f8a9509c4b1 \
- 38a84d4521a41e5ff988a84181ddcaf5 \
- f45d183360067ede979c18fc964824ab \
- bfb758edd51271b31aa6b902557fa0cc \
- ec82183635a6ef627cb19d53d4a004ce \
- 65d55f2a86baa59343432261cabd52ec \
- 15deba68e12e13b524a723b49e7ec813 \
- 2cd7bf4256182f376bcda8bd67a6dcb1"
+ 488bb4d9b8e9f82dc272b4e6e9c57d30 \
+ ad8c0f133122c6d07732ca69c8759410 \
+ abde2ccc33e31fc695031c2cfb60f3dd \
+ f52fcdb38e09f8dcfb9ff0344dfbbbd6 \
+ 12060433a74ac61a1c776d1d6d136117 \
+ 84c7f1575d9a1506370125ed050514ab \
+ cf38ec1e5a5f6453946cd387c14f2684 \
+ 0a36c7e6a86c6c741179464b8f79c487 \
+ 2bbb27be1bf495032cdd3dbd683fa335 \
+ 90a762dd9eb19c8c97876ad837923857 \
+ 17712cc9e9aff58f9fd22bf670a4a98b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="ponce"
EMAIL="matteo.bernardini@gmail.com"
-APPROVED="Niels Horn"
+APPROVED="dsomero"