#!/bin/sh # Build XView for Slackware CWD=`pwd` cd /tmp tar xzvf $CWD/xview-3.2p1.4.src.tar.gz cd xview-3.2p1.4 tar xzvf $CWD/clients.tar.gz zcat $CWD/xview-3.2p1.4.diff.gz | patch -p1 -E make -f Makefile.Linux compile make -f Makefile.Linux install installpkg $CWD/examples.tgz cat $CWD/xinitrc.openwin > /var/X11R6/lib/xinit/xinitrc.openwin chmod 755 /var/X11R6/lib/xinit/xinitrc.openwin mv /usr/X11R6/bin/xcenter /usr/openwin/bin/xcenter mv /usr/openwin/bin/clock /usr/openwin/bin/xvclock mv /usr/openwin/bin/msgfmt /usr/openwin/bin/xvmsgfmt mv /usr/openwin/man/man1/clock.1x /usr/openwin/man/man1/xvclock.1x mv /usr/openwin/man/man1/msgfmt.1 /usr/openwin/man/man1/xvmsgfmt.1 gzip -9 --force /usr/openwin/man/man1/* mkdir -p /usr/doc/xview-3.2p1.4 cp -a LEGAL_NOTICE README README.LinuxELF README.X11R6 UNPACKING \ /usr/doc/xview-3.2p1.4 chown root.root /usr/doc/xview-3.2p1.4/* ( cd /usr/doc/xview-3.2p1.4 ; ln -sf /usr/openwin/share/doc/xview . )