IGNOREPATH=/
STRIPLIB=y
STRIPBIN=y

PROGNAME="x11-xdmx $VERSION"
DESC="\
x11-xdmx (Distributed Multi-head X server)                             \n\
                                                                       \n\
Xdmx is a proxy X server that uses one or more other X servers as its  \n\
display devices.  It provides multi-head X functionality for displays  \n\
that might be located on different machines."

BUILD=1
MAINTAINER="Mark Post <mark.post@eds.com>"
SOURCE=ftp://ftp.x.org/pub/X11R6.8.1/tars/
SUBPKGNAME=x11-xdmx-$VERSION-s390-$BUILD
TAG=OPT

subinstall() {
   echo "Nothing to install for x11-xdmx"
}

subspecial() {
   mkdir -p $SUBPKG/usr/X11R6/bin \
            $SUBPKG/usr/X11R6/man/man1

   chown root.bin $SUBPKG/usr/X11R6/bin
   cp -a $TMP/xm/usr/X11R6/bin/Xdmx $SUBPKG/usr/X11R6/bin
   cp -p $TMP/xm/usr/X11R6/man/man1/Xdmx.1x.gz \
         $TMP/xm/usr/X11R6/man/man1/dmxtodmx.1x.gz \
         $TMP/xm/usr/X11R6/man/man1/vdltodmx.1x.gz \
         $TMP/xm/usr/X11R6/man/man1/xdmxconfig.1x.gz \
      $SUBPKG/usr/X11R6/man/man1

   cd $SUBCTL
   cat $CWD/slack-desc/slack-desc.x11-xdmx > slack-desc
}

