summaryrefslogtreecommitdiff
path: root/system/xautomation/xautomation.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/xautomation/xautomation.SlackBuild')
-rw-r--r--system/xautomation/xautomation.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/system/xautomation/xautomation.SlackBuild b/system/xautomation/xautomation.SlackBuild
index 9b6cc4f41f..e2ab84cd7d 100644
--- a/system/xautomation/xautomation.SlackBuild
+++ b/system/xautomation/xautomation.SlackBuild
@@ -6,15 +6,13 @@
PRGNAM=xautomation
VERSION=${VERSION:-1.03}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -55,6 +53,7 @@ find . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
+LDFLAGS="-lX11" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -67,9 +66,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \