summaryrefslogtreecommitdiffstats
path: root/openmotif
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2009-07-31 19:01:17 +0000
committer Eric Hameleers <alien@slackware.com>2009-07-31 19:01:17 +0000
commita9ca409f89479a5d6a262492fd16f18a7799f98e (patch)
tree42946c4825bff06b8966174f82c66240592b2bdb /openmotif
parent3b06a0d81185867701b6e21d7ca5215823182793 (diff)
downloadasb-a9ca409f89479a5d6a262492fd16f18a7799f98e.tar.gz
asb-a9ca409f89479a5d6a262492fd16f18a7799f98e.tar.xz
Add some more usefulness to the package
Diffstat (limited to 'openmotif')
-rwxr-xr-xopenmotif/build/openmotif.SlackBuild20
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