summaryrefslogtreecommitdiffstats
path: root/libvncserver
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2007-08-25 23:14:02 +0000
committer Eric Hameleers <alien@slackware.com>2007-08-25 23:14:02 +0000
commitf5caa3b77fcbbc1e6b0ab654894d81c1102be55c (patch)
tree76fb438d3596f86222c9f739164ce8ffe0c516dc /libvncserver
parentec5ebe5d178f25c626832653cdb93068535e2417 (diff)
downloadasb-f5caa3b77fcbbc1e6b0ab654894d81c1102be55c.tar.gz
asb-f5caa3b77fcbbc1e6b0ab654894d81c1102be55c.tar.xz
This version works
Diffstat (limited to 'libvncserver')
-rwxr-xr-xlibvncserver/build/libvncserver.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/libvncserver/build/libvncserver.SlackBuild b/libvncserver/build/libvncserver.SlackBuild
index 4cfc0fca..b4613eea 100755
--- a/libvncserver/build/libvncserver.SlackBuild
+++ b/libvncserver/build/libvncserver.SlackBuild
@@ -153,6 +153,7 @@ if `file ${SOURCE} | grep -q ": bzip2"`; then
elif `file ${SOURCE} | grep -q ": gzip"`; then
tar -xzvf ${SOURCE}
fi
+mv ${SRCNAM}-${VERSION} ${PRGNAM}-${VERSION}
cd ${PRGNAM}-${VERSION}
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
@@ -171,13 +172,15 @@ CFLAGS="$SLKCFLAGS" \
make 2>&1 | tee $OUTPUT/make-${PRGNAM}.log
# Install all the needed stuff to the package dir
-mkdir -p $PKG/usr
+mkdir -p $PKG/usr/{bin,include,lib}
# Use installwatch if available, to produce a logfile of the installation
# process that is more easily readable:
if $(which installwatch > /dev/null 2>&1); then
- installwatch -o $OUTPUT/install-${PRGNAM}.log make prefix=$PKG/usr install
+ installwatch -o $OUTPUT/install-${PRGNAM}.log \
+ make DESTDIR=$PKG includedir=/usr/include/rfb install
else
- make prefix=$PKG/usr install 2>&1 |tee $OUTPUT/install-${PRGNAM}.log
+ make DESTDIR=$PKG includedir=/usr/include/rfb install \
+ 2>&1 |tee $OUTPUT/install-${PRGNAM}.log
fi
# Add SDLvncviewer