diff options
Diffstat (limited to '')
-rwxr-xr-x | openmotif/build/openmotif.SlackBuild | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/openmotif/build/openmotif.SlackBuild b/openmotif/build/openmotif.SlackBuild index 74705555..b58ee13e 100755 --- a/openmotif/build/openmotif.SlackBuild +++ b/openmotif/build/openmotif.SlackBuild @@ -143,20 +143,36 @@ CFLAGS="$SLKCFLAGS" \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --mandir=/usr/man \ --localstatedir=/var \ - --sysconfdir=/etc \ + --sysconfdir=/etc/X11 \ + --enable-message-catalog \ --enable-themes \ - --disable-static \ + --enable-static \ + --enable-shared \ --program-prefix= \ --program-suffix= \ --build=$ARCH-slackware-linux \ 2>&1 | tee $OUTPUT/configure-${PRGNAM}.log +make clean make 2>&1 | tee $OUTPUT/make-${PRGNAM}.log make DESTDIR=$PKG install 2>&1 |tee $OUTPUT/install-${PRGNAM}.log # This conflicts with a perl manpage: mv $PKG/usr/man/man3/Shell.3 $PKG/usr/man/man3/omShell.3 +# Shuffle stuff a bit: +mkdir -p $PKG/etc/X11/mwm +mv $PKG/usr/lib${LIBDIRSUFFIX}/X11/* $PKG/etc/X11/mwm +( cd $PKG/usr/lib${LIBDIRSUFFIX}/X11 + for item in $(ls --indicator-style none); do + ln -sf ../../../etc/X11/mwm/$item + done +) + +# Add a xinitrc file for the motif window manager: +mkdir -p $PKG/etc/X11/xinit/ +install -m0755 $SRCDIR/xinitrc.mwm $PKG/etc/X11/xinit/xinitrc.mwm + # Add documentation: mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION || true |